Re: PHP3 and HTTP_REFERRER

by "Rossi Designs" <webmaster(at)rossidesigns.net>

 Date:  Thu, 22 Jun 2000 20:38:32 -0400
 To:  <jonblake(at)lw-oasis.org>,
<hwg-languages(at)hwg.org>
 References:  nevada
  todo: View Thread, Original
If you type a url in directly there is no $HTTP_REFERER

put

<? phpinfo() ?>

on your page and you can see all available variables.

Data Driven Design
PO Box 1084
Holly Hill, FL 32125-1084
Phone : (904) 226-8979
URL : http://datadrivendesign.com
URL : http://rossidesigns.net

----- Original Message -----
From: Jonathan Blake <blakej1(at)nevada.edu>
To: <hwg-languages(at)hwg.org>
Sent: Thursday, June 22, 2000 7:20 PM
Subject: PHP3 and HTTP_REFERRER


| I'm making my first foray into PHP, and I'm wondering if there's some kind
| of gotcha that I don't know about. I'm doing something as simple as:
|
|  <?php echo( $HTTP_REFERRER ) ?>
|
| but I get nothing. For other HTTP variables like USER_AGENT, the above
| works. Yes, I'm going to the page through a link - not through bookmarks
| or by hand typing the URL into the browser. Is this some kind of server
| misconfiguration?
|
| --
| Jon
|
| "Semper ubi sub ubi!"
| Loosely translated: No unfurnished basements!
|
|

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA