header в мозиле
Скрипт
<?php
ob_start();
header('Content-Type: text/plain; charset=windows-1251');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
echo("<p>Привет</p>");
?>
в мозилле выводит <p>Привет</p> Хотя должен выводит просто Привет Почему? |
Может потому что Content-Type не тот? Укажите text/html
|
Большое спасибо
|
| Часовой пояс GMT +3, время: 04:06. |