ID: 20174 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: IIS related Operating System: Windows 2000 SP3 PHP Version: 4.2.3 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. User reports problem is fixed. Previous Comments: ------------------------------------------------------------------------ [2002-10-31 03:07:30] [EMAIL PROTECTED] Thanks! The upload seems to work ok with this version (although other things are now broken!) ------------------------------------------------------------------------ [2002-10-30 19:05:04] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-30 13:03:59] [EMAIL PROTECTED] I'm not sure if this relates only to IIS - I upgraded to 4.2.1 and fileupload didn't work at all so then I used 4.2.3. It's better but still file upload seems buggy. The simplest test I could create is the script below, which generates an endless number of php$HEXNUMBERINC.tmp in the upload temp directory. Each file is about 4.999 KB in size. The only way I could find to stop it is to stop IIS. Thanks, Mike +++++++++++++++++++++++++++++++ // filename: test.php <?php global $HTTP_POST_VARS; if(isset($HTTP_POST_FILES['fileName'])){ echo("POSTED ".$HTTP_POST_FILES['fileName']['tmp_name']."<br/>"); } echo(' <html> <head> </head> <body> <form enctype="multipart/form-data" name="form1" action="test.php" method="post"> File<input type="file" name="fileName" value="fred" /> <input border="0" type="submit" name="subBut" value="upload" /> </form> </body> </html>'); ?> +++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20174&edit=1
