Hey guys,
Not sure if this a PHP problem but anyway...
I have an error script which is called by the server whenever an error occurs. For example, a 404 actually shows error.php?error=404 which then shows a nice message and email me all the details. One problem I've found though is that it sends me the details for a 401 error, even when the error page isn't displayed. So whenever anyone goes to my secure area, enters in their username and password and logs in successfully, I get an email telling me a 401 has occurred. I used the error script from HotScripts, which can be found at
http://www.sabrewebdesign.com/support/scripts/errorpages.php
Thanks!