Re: Re: REMOTE_HOST

From: Date: Tue, 24 Dec 2002 05:38:38 +0000
Subject: Re: Re: REMOTE_HOST
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-129257@lists.php.net to get a copy of this message
What do you get with this... echo ( "<pre>\n" ); print_r ( $_SERVER ); echo ( "</pre>\n" ); John Taylor-Johnston wrote:
But something does appear when you click on the links in this post, but not on a blank page nor from the server redirect?? Oh well. Any other avenues? I thought something would appear from a link from a blank .htm file to the site?? John
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
-- 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
-- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#129257) next »