Spurious newlines when requesting empty php file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some strange results with spurious newlines inserted in the response when requesting a php file has led me to investigating what happens when a completely empty php-file is requested.

I would have thought that the response from a empty php file would also be empty, but, to my surprise, they consist of 3 newlines !!!

The strange thing is that I observed this behaviour on two completely unrelated servers.

Is this what can be expected or is it a result of misconfiguration ?

Kind regards, 
Carl Michael Skog

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux