On Wed, Jul 9, 2008 at 2:39 PM, PaulCheung <[EMAIL PROTECTED]> 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.
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to