I have a error page in shtml (must stay that way) but I have a cool one page php script, that acts as a errorpage generator...and a automatic email of all errors to admin...script...
in order to make it work correctly... an ".htaccess" file must be in the public_html root... with the following lines: ErrorDocument 000 /ErrorDocs/phpErrorDoc.php?000 ErrorDocument 400 /ErrorDocs/phpErrorDoc.php?400 ErrorDocument 401 /ErrorDocs/phpErrorDoc.php?401 ErrorDocument 403 /ErrorDocs/phpErrorDoc.php?403 ErrorDocument 404 /ErrorDocs/phpErrorDoc.php?404 ErrorDocument 500 /ErrorDocs/phpErrorDoc.php?500 however, my servers customised error pages are activated thru a CPanel , and it saves them in shtml format... I wish to implement the great one page php script from with in the shtml pages...so that the script will email me on all errors, (as the script is supposed to do) HOW do I accomplish this? I tried to add the following line to the shtml page: <?php include 'ErrorDocs/phpErrorDoc.php?404' ?> but it won't work...it doesn't email me...can someone help me with this?