ID:               20097
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         PHP options/info functions
 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.

In the CVS there is a new option (max_input_time) allowing you to set
the timeout value for parsing of input data such as file uploads.


Previous Comments:
------------------------------------------------------------------------

[2002-10-25 14:32:41] [EMAIL PROTECTED]

Test code (test.php) running under Windows 2000 with PHP running as a
CGI binary under IIS (not in safe mode) as obtained and installed under
the "Downloads" section of the PHP website (the zip package, not the
installer version):

<?php
set_time_limit(0);
ignore_user_abort(true);
phpinfo();
?>

Running the script directly from your browser displays the phpinfo()
page with a local max_execution_time set to 0 (with a global value of
30).

Now create an HTML form page that accepts a large file for upload
(modifying php.ini's post_max_size and upload_max_filesize as
necessary) and which submits to this script.  If the file is large
enough so that the time it takes to upload to the server is >
max_execution_time, PHP returns the following error to the client:

Fatal error: Maximum execution time of 30 seconds exceeded in
D:\InetPub\test.php on line 2


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20097&edit=1

Reply via email to