|
|
PHP Siteniz için tavsiye edilen headerlar - PHP Webmaster bilgi bankası, knowledge base Webmaster Araçları
| AnaSayfa > PHP > PHP Siteniz için tavsiye edilen headerlar | |
| | Kategori | : PHP | | Gönderen | : Admin | | Tarih | : 2014-04-18 | | Puan | : 2 | Katılımcı : 13 | | Okunma | : 14865 | | | | | |
| | header("Cache-Control: no-cache, must-revalidate"); //AJAX icin (wmaraclari.com)
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Content-Type: text/html; charset=utf-8");
// wmaraclari.com
if(isset($_REQUEST['ContentType']) && $_REQUEST['ContentType']=='json'){ //JSON siteler icin (wmaraclari.com)
header('Content-type: application/json');
}
|
| Yorumlar | | Henüz Kimse Yorum Yapmamış, ilk yorumu siz ekleyin! | | Yorum Ekleme Aparatı | Yorum Eklemek için lütfen sol menuden giris yapınız.. | | Toplam 0 yorum listelendi. |
|