Diana Castillo wrote:

Is there anyway to set a time out on this command:
mysql_connect($host, $UN, $PW);

so that if it canīt connect after a certain amount of time, it returns an
error and the program continues?


ini_set('mysql.connect_timeout', ... );


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to