PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0

Martin Marques martin at bugs.unl.edu.ar
Fri Jul 21 23:57:55 CEST 2006


On Fri, 21 Jul 2006, Mark Edwards wrote:

> A PHP file starts with <?PHP and ends with ?> or its not a PHP file.  Right?

No.

<?php tells apache to start parsing PHP and ?> tells it to stop parsing 
PHP and resume with normal HTML parsing. Once the script ends, it ends.

Check it out. Eliminate the last ?> from the roundcube index.php file and 
see what happens. ;-)

--
  21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' ||
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
     del Litoral             |   Administrador
---------------------------------------------------------


More information about the Dev mailing list