Hi:

For me this code works on Win2k Pro running Apache and PHP v4.02pl2;

<?php
echo $HTTP_REFERER;
?>

Otherwise, you could get Javascript to pass the variable onto the
request url passed to the PHP script. I think the syntax is nearly the
same for Javascript so you would just need to tack it on to the request
uri like...

http://server.com/my_file.phpHTTP_REFERER=<script>$http_var</script> 

Or even retrieve it through a simple Perl script. 
>In apache, the variable:
>HTTP REFERER is automatically set.
>I don't run apache, I tried to access the variable like this in a 
>regular script: 
>
><?php
>echo "$http referer";
>?>

<<SNIP>>

>Thanks in advance
>RDB
Hope this helps, regards Jerry


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to