RE: [PHP] Didn't work... Re: [PHP] Time-Limit while connection...

From: Date: Fri, 01 Sep 2000 10:14:06 +0000
Subject: RE: [PHP] Didn't work... Re: [PHP] Time-Limit while connection...
Groups: php.general 
Request: Send a blank email to php-general+get-14778@lists.php.net to get a copy of this message
well, yeah... maybe then JavaSript is what you need... Your need is to have something to be refreshed all the time.... JavaScript does that... but what if you disable it in attempts to hack in? -----Original Message----- From: Martin [mailto:martin@thomatechnik.de] Sent: Friday, September 01, 2000 7:08 PM To: php-general@lists.php.net Subject: Re: [PHP] Didn't work... Re: [PHP] Time-Limit while connection... Maxim Maletsky wrote: > Why don't you try something like: > > put somewhere in the actual loop.. > if(time == time()+$time_limit) > $Disconnect =1; > make $time_limit be the amount of seconds in UNIX timestamp style > > and then Whenever value of disconnect becomes one 1 get out... > The problem is, that I got no loop ! I got only one function (like ftp_connect or whios) which I have to timeout. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#14778) next »