RE: [PHP] Time-Limit while connection...

From: Date: Fri, 01 Sep 2000 10:11:27 +0000
Subject: RE: [PHP] Time-Limit while connection...
Groups: php.general 
Request: Send a blank email to php-general+get-14760@lists.php.net to get a copy of this message
> I want to connect to a ftp-server and have a time-limit when the > function should stop if the connection if not established in > this time. I want to do a similar thing, since I'm exec()'ing a whois command and its possible the remote server may hang. Anyone know how to set a time limit for one command, or for the Unix gurus, how can I get whois to exit after 15 seconds? :) Jason

« previous php.general (#14760) next »