FreelanceCoder
04-23-2012, 04:16 PM
I have a custom erro404.php file that shows when someone vists an incorrect page or something goes wrong they get redirected to this page.
I have the ErrorDocument 404 entery in htaccess
What I am after is to know what the URL was when the error happened.
If someone visits say www.site.com/thisPageDoesNotExisit.php?a=1&b=2&c=3
they would get taken to my error page.
When the error404 page loads is there a way to grab the $_GETS that were in the URL before ?
I have the ErrorDocument 404 entery in htaccess
What I am after is to know what the URL was when the error happened.
If someone visits say www.site.com/thisPageDoesNotExisit.php?a=1&b=2&c=3
they would get taken to my error page.
When the error404 page loads is there a way to grab the $_GETS that were in the URL before ?