ID: 20174 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: IIS related Operating System: Windows 2000 SP3 PHP Version: 4.2.3 New Comment:
Thanks! The upload seems to work ok with this version (although other things are now broken!) Previous Comments: ------------------------------------------------------------------------ [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
