Hi,
I am using IE and have a serious problem in using http_referer.
I have made an <object> on HTML. The <object> is a SWF file and it is associated with calculate.php.
In calculate.php, I am trying to check the "http_referer" of this SWF file. However, ithe value of the "http_referer" is null. I think that it is IE problem.
<?
$referer = getenv("HTTP_REFERER");
if ($referer == "http://ddlam2.uhome.net/typing/send.html") {
print "&a=$referer";
print "&b=done";
} else {
print "&a=$referer";
print "&b=wrong";
}
?>
For example:
http://ddlam2.uhome.net/typing/send.html
Does anyone know how to make the PHP capture the SWF URL or the URL of this HTML page?
Thank you for reading my post!!