cookies and iframes and php, oh my
here is a good one. I have a page called say something.html
in this page is a iframe calling a php script from a different site.
like so
http://www.differentsite.com/php/sho...p&bg=%23FFFFFF
and in that shop2.php is a setcookie() function
PHP Code:
$cookietimeout = time()+(3600*24*365);
if($_GET["partner"]){
$value = $_GET["partner"];
setcookie("REFERRALCOOKIE",$value,$cookietimeout);
now here is the question. the cookie works for all browsers except IE. can anybody tell me why it doesn't work for IE. I have IE 6 too.
the cookie just doesn't get set.