cookie + ie5
| From: | andre | Date: | Thu, 14 Dec 2000 14:53:33 +0000 |
| Subject: | cookie + ie5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30290@lists.php.net to get a copy of this message | ||
hi,
can someone tell me why this cookie isnt set in ie 5
=======================================
<?
if($myName && $myCode) {
$myLoginOK=0;
if ((trim($myName) == "rene") && (trim($myCode) == "rs#t2"))
{$myLoginOK=1;};
if ($myLoginOK == 1) {
// md5en der ip + "renePR"
$iceberg_temp = md5(str_replace(".","",$REMOTE_ADDR) + "renePR");
setcookie("myTicket[myICEBERG]",$iceberg_temp,time()+600,"/");
echo "<html><head><title>VIVA - Online</title>";
echo "<meta http-equiv=\"refresh\"
content=\"0;URL=doaz.php3\">";
echo "</head>";
echo "<body bgcolor=\"#FFFFFF\" >";
}
else {
echo "<html><title>VIVA - Online</title>";
echo "<body bgcolor=\"#FFFFFF\" >";
include("no_login.tpl");
}
} else {
echo "<html><title>VIVA - Online</title>";
echo "<body bgcolor=\"#FFFFFF\" >";
include ("login.tpl");
}
echo "</body></html>";
?>
==============================================
its working fine with netscape all versions
its working fine from a apache server on a redhat 6.2 box
but its strange on a cobald raq3
any ideas ?
thanks
andreas