override PHP warning page
Posted: Thu Jun 21, 2007 10:05 am
Hi,
If I have a link to a file that does not exist and the user clicks it, the following message will appear:
Warning: main(pages/script.php) [function.main]: failed to open stream: No such file or directory in /home/site/public_html/index.php on line 163
How can I display a friendlier message or redirect the user instead of having this techy message appear?
Thanks
If I have a link to a file that does not exist and the user clicks it, the following message will appear:
Warning: main(pages/script.php) [function.main]: failed to open stream: No such file or directory in /home/site/public_html/index.php on line 163
How can I display a friendlier message or redirect the user instead of having this techy message appear?
Thanks