RE: [PHP] Re: Browser timeout
| From: | Rick Lim | Date: | Mon, 02 Mar 2009 08:13:33 +0000 |
| Subject: | RE: [PHP] Re: Browser timeout | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289033@lists.php.net to get a copy of this message | ||
Try
set_time_limit (0);
-----Original Message-----
From: Ondrej Kulaty [mailto:kopyto911@gmail.com]
Sent: Sunday, March 01, 2009 11:19 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Browser timeout
40 seconds is not very long execution time for timeout, if you have some
loop in the script, try to output a dot character, for example, on every
iteration, with flush() immediately after echo (or whatever command you use
for sending output).
""????? ????"" <danondaniel@gmail.com> pí¹e v diskusním pøíspìvku
news:907722000902270633j559478cdi1ff0f1c7fc07f35@mail.gmail.com...
> Hello, I am running a script that process the user's request, which
> usually
> takes about 40 seconds. The problem is that on Internet Explorer 6, it
> timeouts - probably because no response was sent.
> How do I solve this problem? Since I tried some things and header()
> messages, nothing worked.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php