mdk, te cuento.. con el código
Código PHP:
<?php
error_reporting(E_ALL | E_STRICT);
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")."GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
?>
hola!
obtengo
Código:
X-Powered-By: PHP/5.1.1
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Tue, 02 Oct 2007 23:50:09GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html
hola!
y si le agrego el espacio
Código PHP:
<?php
error_reporting(E_ALL | E_STRICT);
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")."GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
?>
hola!
tengo
Código:
X-Powered-By: PHP/5.1.1
Content-type: text/html
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at PHPDocument1:1) in <b>PHPDocument1</b> on line <b>3</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at PHPDocument1:1) in <b>PHPDocument1</b> on line <b>4</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at PHPDocument1:1) in <b>PHPDocument1</b> on line <b>5</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at PHPDocument1:1) in <b>PHPDocument1</b> on line <b>6</b><br />
hola!
Podés probar con otro editor de texto... he visto que algunos general caracteres extras por ciertos encodings