#20174 [Opn->Fbk]: HTTP File upload
| From: | sniper@php.net | Date: | Thu, 31 Oct 2002 01:05:04 +0000 |
| Subject: | #20174 [Opn->Fbk]: HTTP File upload | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23753@lists.php.net to get a copy of this message | ||
ID: 20174
Updated by: sniper@php.net
Reported By: info@europoly.net
-Status: Open
+Status: Feedback
Bug Type: IIS related
Operating System: Windows 2000 SP3
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-10-30 13:03:59] info@europoly.net
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