Hello,
I wanted to migrate some custom 404 error pages from
shtml to php for the ease of email notification of lost pages.
However when PHP processes the page $_ENV['REQUEST_URI']
and $_SERVER['REQUEST_URI'] both now hold the error page eg "404.php".
Does anyone have advice on how to dodge this? Should I just continue to use
shtml error pages and
do an shtml include on a little php script to do the mail?
Any advice?
TIA
jg
I wanted to migrate some custom 404 error pages from
shtml to php for the ease of email notification of lost pages.
However when PHP processes the page $_ENV['REQUEST_URI']
and $_SERVER['REQUEST_URI'] both now hold the error page eg "404.php".
Does anyone have advice on how to dodge this? Should I just continue to use
shtml error pages and
do an shtml include on a little php script to do the mail?
Any advice?
TIA
jg
Comment