note 19846 deleted from ref.ftp by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 09:27:44 +0000 |
| Subject: | note 19846 deleted from ref.ftp by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48460@lists.php.net to get a copy of this message | ||
Note Submitter: o_sheep@hotmail.com
----
you can try using
set_time_limit(0); which will reset the timeout.
to find out what has been completed at at the php script.. you can try using flush(); after echo..
which should display your messages without having to wait for the script to finish loading..
"..I've got this working fine but with slow sites and when sending a batch of
files, the PHP times out! I am using a commercial host so cannot tell them
to increase the PHP timeout and in any case I think that isn't
appropriate.
I am thinking in terms of first opening a connection and then sending each
file with a reload of the page (using a parameter to increment the file to
be sent). This could also give a "progress" indication rather
than freezing.
Is this sensible or can anyone suggest a better approach?
Thanks.
Neil..."