php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13963 Uploading files fails in IIS
Submitted: 2001-11-06 17:29 UTC Modified: 2002-01-30 03:18 UTC
From: will at okino dot com Assigned:
Status: No Feedback Package: IIS related
PHP Version: 4.0CVS-2001-11-06 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: will at okino dot com
New email:
PHP Version: OS:

 

 [2001-11-06 17:29 UTC] will at okino dot 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).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-07 04:38 UTC] 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.
 [2002-01-08 02:58 UTC] lobbin@php.net
Does this work on current CVS or PHP 4.1 releases?
 [2002-01-30 03:18 UTC] lobbin@php.net
No feedback.

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 04:03:37 2021 UTC