note 19846 added to ref.ftp
| From: | o_sheep at hotmail dot com | Date: | Wed, 13 Mar 2002 05:16:00 +0000 |
| Subject: | note 19846 added to ref.ftp | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27703@lists.php.net to get a copy of this message | ||
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..."
--
http://www.php.net/manual/en/ref.ftp.php
http://master.php.net/manage/user-notes.php?action=edit+19846
http://master.php.net/manage/user-notes.php?action=delete+19846
http://master.php.net/manage/user-notes.php?action=reject+19846