Page 1 of 1

Error handling

Posted: Sun Apr 18, 2004 6:27 am
by Simon Angell
Hi.

Im just wondering if there is anyway to ignore php script errors, and keep on loading my pages, instead of halting and displaying the error (which in this case is max time exceeded...) or can i adjust the Timeout length, which is currently 30 seconds????

Posted: Sun Apr 18, 2004 6:47 am
by mudkicker
you can set it with ini_set() and you can ignore the function errors by unsing @ operator.

for example:

@mysql_connect()

Posted: Mon Apr 19, 2004 2:57 am
by samsbox
You can also use error_reporting(0) as well