--- Gary Stainburn <[EMAIL PROTECTED]> wrote:
> Hi Brian,
> 
> This depends on a number of things, the browser, the server and your script's 
> environment.
> 
> One of the values (that should be ) submitted by a web browser when someone 
> clicks a link is URL of the referring (current) page.  This is passed to the 
> server along with the rest of the information, e.g. browser name.   In 
> Apache, this is passed to CGI's as an environment variable HTTP_REFERER, so 
> all you need to do is access $ENV{HTTP_REFERER} to get the value.
> 
> The following script I find usefull often. It dumps the #ENV, the 
> environment, and any CGI parameters.
> 
> Gary

$ENV{HTTP_REFERER} is definitely what was sought, so long as it is understood that 
this is not
always reliable.  It's trivial to change the referer (sic) and some proxies and 
anonymizers
automatically delete or change this data.

Cheers,
Curtis "Ovid" Poe

=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to