Re: error handling

From: Date: Thu, 15 Feb 2001 01:47:46 +0000
Subject: Re: error handling
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39788@lists.php.net to get a copy of this message
On Thu, 15 Feb 2001 11:42, Patrick Brown wrote: > How can I disable the display of error to the browser window from > within the script? I want to do a redirect based on the error and > cannot because header info has already been sent. > > Thanks, > Pat Try an @ prepended to the function that triggers the error, then test for the error. @ should prevent the display of the error message. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#39788) next »