Hi, I'm developing a web site with PHP and I want to show some information only if I'm able to connect to a mysql database . If I canīt connect , simply I donīt show some parts of the web page.
Sounds easy and it works fine in local , but when I install it in the web server , if it canīt connect to the database , seems like it keeps on waiting to establish the conection and donīt show anything until I stop it. Is there any way to establish a timeout? or anything similar. Thanks in advice. _________________________________________________________________ Envíe y reciba su correo de Hotmail desde el móvil: http://mobile.msn.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php