שלום,
בניתי מערכת קטנה וניסיתי להעלות אותה לאינטרנט.
כשאני מנסה ליצור cookie בהתחברות למערכת, משום מה הוא לא עושה כלום.
הנה החלק הספציפי בקוד:
PHP קוד:
$LoginStr=mysql_fetch_array($LoginResult);
setcookie("userid", $LoginStr['user_id'], time()+3600);
setcookie("username", $LoginStr['user_name'], time()+3600);
header("Location: default.php");
תודה על כל עזרה!