Bu akıştan aşağıdaki: http://stackoverflow.com/questions/2209260/another-ie-jquery-ajax-post-problem (bunu anlamak için konuyu okuyun lütfen)
Now i've got an solution for the thread above.. But, the ok.php
(the site it updates each 10 seconds, with AJAX script) Doesn't show in IE if the response contain HTML code. With this I mean, if i have:
(ok.php)
<?php
ob_start();
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header('Content-type: text/html; charset=utf-8');
ob_flush();
echo "hello";
?>
It will work in both IE and FF... However if i have: (in ok.php)
<?php ob_start(); header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past header('Content-type: text/html; charset=utf-8'); ob_flush(); include "../tilslut.php"; $sql = "SELECT id FROM member_comments WHERE fID = '19'"; $query = mysql_query($sql); $number = mysql_num_rows($query); echo("There is <b>".$number."</b> comments!<br><br>"); ?>
O değil IE, sadece firefox / gösteri çalışacaktır.
Bana yardım et! : (Şimdiden teşekkür ederiz.