Powi
10-11-2004, 06:46 PM
I have this code that does set cookies using firefox, but i does not work with IE.
if ($_POST[username] == $query_data[username] && $_POST[pass] == $query_data[pass]) {
setcookie ("username", $_POST[username], $time+3200);
setcookie ("pass", md5($_POST[pass]), $time+3200);
}
PHP does enter the if condision but the cookies are not set.
Any ideas?
Thanks
if ($_POST[username] == $query_data[username] && $_POST[pass] == $query_data[pass]) {
setcookie ("username", $_POST[username], $time+3200);
setcookie ("pass", md5($_POST[pass]), $time+3200);
}
PHP does enter the if condision but the cookies are not set.
Any ideas?
Thanks
