|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-12 06:46 UTC] laruence@php.net
[2015-08-12 17:38 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Package: Unknown/Other Function
+Package: *Web Server problem
[2015-08-12 17:38 UTC] cmb@php.net
[2015-08-13 17:09 UTC] scott dot vivian at gmail dot com
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 01:00:01 2025 UTC |
Description: ------------ To reproduce: 1. Make a form that has a "file" input type. 2. Submit the form without a file (e.g. fill in the other fields). (Using the PHP7 Vagrant box with git updated to the latest master branch.) Test script: --------------- <?php if (!empty($_POST)) { var_dump($_POST); } ?> <form enctype="multipart/form-data" method="post"> <p><input type="text" name="name"> <p><input type="file" name="file"> <p><input type="submit" value="Save"> </form> Actual result: -------------- A notice that no file was supplied. Notice: No file uploaded in Unknown on line 0 A very old bug #32446 seems to imply this has happened before so it may be a regression.