אוף, זה עדיין לא עובד.
קוד מתוקן:
PHP קוד:
$LoginStr=mysql_fetch_array($LoginResult);
setcookie("userid", $LoginStr['user_id'], time()+3600, "/abc/", "members.lycos.co.uk");
setcookie("username", $LoginStr['user_name'], time()+3600, "/abc/", "members.lycos.co.uk");
header("Location: default.php");