Forum Moderators: phranque
I have one line in my .htaccess:
ErrorDocument 404 /error.php
In error.php I'm using $_SERVER["REDIRECT_URL"] to show to the URL that resulted in the 404.
On one server this works perfect, it shows the URL requested.
On another server this results in '/error.php'.
I've tried everything, but don't understand why it doesn't work.
Can anyone give me some help here?
Thanks,
Case Stevens
<?
phpinfo( INFO_variables );
?>
There's a lot more PHP expertise over in our PHP forum [webmasterworld.com].
Jim