Re: Referer Is Empty

From: Date: Fri, 08 Mar 2002 02:39:51 +0000
Subject: Re: Referer Is Empty
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87726@lists.php.net to get a copy of this message
Javascript, if that's acceptable for the environment you're working in... Bogdan Steven Walker wrote:
Hello, I'm having trouble getting the referring url. I have tried:
    $HTTP_REFERER
    getenv(HTTP_REFERER);
    $_SERVER[HTTP_REFERER];
... but they are all blank. The referring page has a meta http-equiv=Refresh header. If the user waits for the page to automatically redirect, the referring url is empty. If on the other hand the user clicks the link to the new page, the referring url is fine. Is there a limitation here? I'm familiar with using header(location..), but it doesn't allow a delay time to be specified. Any ideas? Steven J. Walker Walker Effects www.walkereffects.com steve@walkereffects.com


« previous php.general (#87726) next »