[nycphp-talk] Returning users from whiniest they came
csnyder
chsnyder at gmail.com
Wed Jul 9 15:01:36 EDT 2008
On Wed, Jul 9, 2008 at 2:39 PM, PaulCheung <paulcheung at tiscali.co.uk> wrote:
> I have tried running the HTTP_REFERER using the one liner below and nothing
> happens
>
> <?php
> echo $_SERVER['HTTP_REFERER'];
> ?>
>
> I cannot see why it should not work on my hosted Linux website, as it works
> on this site
>
> http://unix.cms.gre.ac.uk/code/php/examples/http_referer.php
>
> Paul
You are using a link on another page to get to your referer test, right?
Try print_r( $_SERVER ) to see if the $_SERVER superglobal is being
set in the first place.
More information about the talk
mailing list