On 1/7/04 3:36 PM, "Jeffrey Forman" <[EMAIL PROTECTED]> wrote:
> to all, > > i know its not quite linux related but its still something someone must > know about, coding php. i'm writing a custom 404 webpage that says "you > were trying to reach $foobarpage but its not there." what i'm having > trouble figuring out is how do i get a variable containing the referring > page that the user TRIED to access but is non-existant? print_r'ing just > about everything turned up nothing except variables containing my custom > 404 page. any help greatly appreciated. > > -jeff > _______________________________________________ > Siglinux mailing list > [EMAIL PROTECTED] > http://machito.utacm.org/mailman/listinfo/siglinux > Not sure if this is what you are looking for. But php has the following way of keeping the server variables. <?php echo $_SERVER['HTTP_REFERER']; ?> You can get all the environment variables from php. Heres a link that may help too. http://www.asp-php.co.uk/en/asp-php/environment.php Hope that helps. ~Craig Vyvial _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://machito.utacm.org/mailman/listinfo/siglinux