hi
i'm using PHP and .htaccess on an apache server to give users a custom error document if the page they've requested isn't available. however, is the link they clicked available as an environment variable eg:
on a page called index.php there's a link to a file called testrun.php. if testrun.php doesn't exist, they get taken to error404.php, where they can email the webmaster. i know that $HTTP_REFERER will contain index.php, but is there anyway of accessing the name of the file the server tried to find (testrun.php)?
thanks a lot
Rob