|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-10-31 10:06 UTC] david at davidsteinsland dot net
[2012-10-31 10:07 UTC] david at davidsteinsland dot net
[2012-10-31 10:07 UTC] david at davidsteinsland dot net
-Status: Open
+Status: Closed
[2012-10-31 15:06 UTC] rasmus@php.net
-Status: Closed
+Status: Not a bug
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 19:00:01 2025 UTC |
Description: ------------ When I try to upload files from Java through PHP, the logs give me messages about: Input variables exceeded 6000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0. Test script: --------------- // read file contents from stream, and copy into a temporary file in order to get filesize $putdata = fopen("php://input", "r"); $tmp = tmpfile(); $filesize = stream_copy_to_stream ($putdata, $tmp); fclose ($putdata); // move file to correct position $target = fopen($filepath, "w"); fseek($tmp, 0, SEEK_SET); stream_copy_to_stream($tmp, $target); fclose($target); fclose ($tmp); Actual result: -------------- Input variables exceeded 6000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0.