|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-05-23 12:31 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
-Package: PHP Language Specification
+Package: *General Issues
[2017-05-23 12:31 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 24 21:00:01 2025 UTC |
Description: ------------ For example, please write following html. """ <?php ini_set("memory_limit", "5M"); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>sample</title> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data"> Fileļ¼<br /> <input type="file" name="upfile" size="30" multiple><br /> <br /> <input type="hidden" name="myname" value="vicky"> <input type="submit" value="upload" /> </form> </body> </html> """ Next, would you change the php.ini. """ php_value upload_max_filesize "5M" php_value post_max_size "5M" """ Are you ready? Let's upload something binary file from html which you wrote. When we always judge error or success, we usually use "error" key in $_FILES. But I found that $_FILES become array of empty , when PHP couldn't upload 'file' in 'PHP 7.1.5'. I think that it is bug, right? I want PHP developer team to investigate that. Thanks.