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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to