ID: 26004 Comment by: no_patience at hotmail dot com Reported By: jacknorton101 at hotmail dot com Status: No Feedback Bug Type: *General Issues Operating System: RedHat Linux 9 PHP Version: 4.3.3 New Comment:
I worked around this injecting the values I wanted into the forms "action" statement and using $_GET to extract these values, the file uploading part then extracts its informaion from the POST part. I was also seeing this happening with both IE and FF Previous Comments: ------------------------------------------------------------------------ [2007-05-10 08:47:07] dlodhia at yahoo dot com hi, having same problem. This is working fine with FF, but not with IE. If its working fine with FF, it could not be problem with PHP.INI or HTTD.CONF. any suggestion what could be the reason? ------------------------------------------------------------------------ [2006-08-10 06:25:06] cometfish at hotmail dot com Hi, I had this same problem. I spent hours searching the web, but found nothing except this: ------ from http://www.php.net/manual/en/features.file-upload.php jason 09-Jan-2006 05:08 Regarding empty $_FILES and $_POST arrays when uploading files larger than post_max_size: Tucked away in http://us3.php.net/manual/en/ini.core.php#ini.post-max-size is this nugget: "If the size of post data is greater than post_max_size, the $_POST and $_FILES superglobals are empty. This can be tracked in various ways, e.g. by passing the $_GET variable to the script processing the data, i.e. <form action="edit.php?processed=1">, and then checking if $_GET['processed'] is set." This may seem like a bug. You'd expect something like UPLOAD_ERR_FORM_SIZE to be set. But you just two empty superglobals. I've seen it submitted to bugs.php.net twice and it's been marked as bogus both times. -------- I saw this, and realised that my MAX_FILE_SIZE hidden form element was missing. Inserting this fixed the problem immediately. My PHP version is 4.4.2. Hope this helps. ------------------------------------------------------------------------ [2006-05-11 21:24:50] hostgeekz at gmail dot com I am having this issue on PHP 5.0.4, and PHP 5.1.4 Exactly the same as stated above, enctype="multipart/form-data" ------------------------------------------------------------------------ [2006-04-07 08:07:58] timecop at gmail dot com Yes this is still valid. whats worse, if enctype=multipart/form-data, NONE of the variables make it into $_POST. PHP 5.1.2 / linux ------------------------------------------------------------------------ [2003-11-03 14:06:54] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26004 -- Edit this bug report at http://bugs.php.net/?id=26004&edit=1