Re: timer.

From: Date: Thu, 13 Jul 2000 01:47:58 +0000
Subject: Re: timer.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6351@lists.php.net to get a copy of this message
In article <39672E9E.25671FCF@clan.pl>, zork@clan.pl (Lukasz Michalski) wrote: > Is it possibile to set something like timer in php ? Not really... You could use PHP to make a cron job, but that's not going to fit into what you're asking... > For example I want to validate user login and password in remote > database but if my validate_user() function takes too long I want to > break and do something else. You could write the function in a loop and check time() a lot... > Is there any way to break pgsql_connect() after given time ? The time-out for that would have to be configured by PostgreSQL, almost for sure. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#6351) next »