[PHP] CGI timeout problem

2003-07-29 Thread imran
hello,

I wrote a very simple upload script and it perfectly works for small files. But if the 
file is too huge (I tried with 8Mbytes), my browser displays:

The page cannot be displayed
...
Cannot find server or DNS Error
Internet Explorer 


instead of uploading the file and submitting the form to my upload.php file. I set 
my upload_max_size to 10MB both in php.ini and in my form. And my web server is 
running under IIS 5.

here is one of my user feedback:

CGI Timeout

The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.


does it mean that I have to use set_time_limit so the script doesn't time out ? I 
don't really understand why I should do that.

thanks,



Re: [PHP] CGI timeout problem

2003-07-29 Thread John W. Holmes
imran wrote:
CGI Timeout

The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.

does it mean that I have to use set_time_limit so the script doesn't time out ? I don't really understand why I should do that.
You may be reaching an IIS imposed time limit instead of a PHP one. 
Usually the PHP error is different (but I use ISAPI instead of CGI).

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals  www.phparch.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php