>>>>> "Motherofperls" == Motherofperls <[EMAIL PROTECTED]> writes:
Motherofperls> Is there a way to get the path of the script that called the current
script
Motherofperls> from the interpeter instead of from the HTTP_REFERER variable?
If this is a CGI
Hi all,
Is there a way to get the path of the script that called the current script
from the interpeter instead of from the HTTP_REFERER variable?
Thanks
Tricia
ue ( $q->param( $name )) {
print FD " $value\n";
}
}
}
if ( not $page eq "" ) {
my $hit = Hit->new();
$hit->page( $page );
$hit->referrer( $refr );
$hit->browser( $ENV{ "HTTP_USER_AGENT" } );
$hit->Print( \*FD
Hi Dianne,
Generally, HTTP_REFERER is the page which got you to the current page (the
page that links to it). REMOTE_ADDR generally contains the IP. Try peeking at
that, or make a CGI with the following which will display your environment
variables for you:
#!/usr/bin/perl -w
use strict
Hi,
I was hoping someone would be able to give me a clue how I could find the
referer IP. If I use the Environment HTTP_REFERER, it will work in IE, but
not in Netscape.
Does anyone know of a method that allows me to read this?
This is my first post, so I hope it is OK.
Thanks
Dianne