Bug #13963 Updated: Uploading files fails in IIS
ID: 13963
Updated by: lobbin
Reported By: will@okino.com
Old Status: Open
Status: Feedback
Bug Type: IIS related
Operating System: Windows 2000
PHP Version: 4.0CVS-2001-11-06
New Comment:
Does this work on current CVS or PHP 4.1 releases?
Previous Comments:
------------------------------------------------------------------------
[2001-11-07 04:38:56] derick@php.net
Please note that you can't downgrade to 4.0.8, because that doesn't
exist. And 4.2.0-dev has a new way of dealing with fileuploades that has
not been tested very well.
------------------------------------------------------------------------
[2001-11-06 17:29:19] will@okino.com
I think this is related to the fix to bug #13094. Here is an example:
uptest1.php:
<form action="uptest2.php" method="post"
enctype="multipart/form-data">
<input type="file" name="myfile">
<input type="submit">
</form>
uptest2.php:
<?
var_dump($HTTP_POST_FILES);
?>
When I use PHP 4.0.8, this works as expected. It uploads to a temporary
file, calls uptest2.php (giving all correct information) and deletes the
temporary file.
In PHP 4.2.0, it uploads the file (it shows up in my temp dir), but then
I get a CGI timeout. It appears as though uptest2.php is never called.
The temporary file is not deleted.
I would gladly downgrade to 4.0.8, but I need some of the newest COM
functionality. If there is a way to get a snapshot version from between
about the 20th and 26th of october, that would be a good temporary
solution (for me anyway), but a fix would be better (assuming this is
actually a bug).
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13963&edit=1
Thread (4 messages)