View Single Post
ישן 11-06-07, 06:15   # 1
X-T
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Jan 2007
הודעות: 1,021

X-T לא מחובר  

האם הגיוני שהקוקיז יתקבלו ב FF וב IE לא?

אהלן, אני עובר על טופס התחברות ומשום מה הקוקיז נשלחים אך ורק ב FF ולא ב IE
הקוד:
PHP קוד:
<? 
ob_start
();
include 
"global/global.php";
echo 
'<center><meta http-equiv="Content-Type" content="text/html; charset=windows-1255">';
$submit $_POST['submit'];
$username $_POST['username'];
$password $_POST['password'];
if(
$submit) {
$sql " SELECT * FROM members WHERE username = '$username' AND password = '$password' "
$result mysql_query($sql) or die("בעייה : " mysql_error()); 
if(!
mysql_num_rows($result)) {
echo 
"אחד מהשדות שהזנת שגויים, נא חזור ובדוק שנית";
exit();
}
    
setcookie("user"$username,time() + 3600);
    
setcookie("pw"$passwordtime() + 3600);
    
setcookie("access"$accesstime() + 3600);
echo 
"<meta http-equiv='refresh' content='0; url=index.php'>";
}
ob_end_flush();
?>

אינו מציג שום שגיאה אך לפני כן הקובץ היה על UTF-8 ויצר בעיות אז המרתי אותו ל ANSI,
האתר שלי בנוי על UTF-8 , האם הבעיה כאן? או מה בדיוק הבעיה? אשמח לקבל הסבר
__________________
You don't shine if you don't glow
  Reply With Quote