REFERRER isn't always set, so that may be the problem. Try just a simple HTML page that has a link to a PHP page that echo's out $_SERVER['HTTP_REFERRER'].
Does that work? ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ > -----Original Message----- > From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 24, 2002 12:28 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: REMOTE_HOST > > John, > John, > > Nothing. > > echo $_SERVER['HTTP_REFERER'].'<br>'; > echo getenv('REMOTE_HOST').'<hr>'; > > > Try looking at: http://compcanlit.usherbrooke.ca/ > or > http://compcanlit.ca/ which will redirect to > http://compcanlit.usherbrooke.ca/ > > I even made a link on a blank page on my desktop and from an email > message. Nothing appeared as the referrer. > > John > > John Nichel wrote: > > > Try... > > > > $_SERVER['HTTP_REFERER'] > > > > John Taylor-Johnston wrote: > > > The deal is my ISP does a redirect from www.delete.compcanlit.ca to > www.delete.compcanlit.usherbrooke.ca. I'm trying to if statement the > redirect. Again, I find no variable in phpinfo(). > > > John > > > > > > > > > > -- > > By-Tor.com > > It's all about the Rush > > http://www.by-tor.com > > -- > John Taylor-Johnston > ------------------------------------------------------------------------ -- > --- > "If it's not open-source, it's Murphy's Law." > > ' ' ' Collège de Sherbrooke: > ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/ > - Université de Sherbrooke: > http://compcanlit.ca/ > 819-569-2064 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php