anyway: i just verified: 4.3.0 does not have any problems with files
that have a new-line after the very last '?>' and before EOF.
It does on my system at least (Red Hat 7.2, Apache 1.3.xx, PHP 4.3.0, mod_gzip, php accelerator, smarty 4.2.0).
i have
turned output-buffering off, and sent some headers after including
such files. no errors.
You're lucky then (or most probably I am unlucky)
4.3.0 gives the file and line where output started in its "headers
already sent"-error. does it really say it is the last line of
Smarty.class.php ??
The error was: Warning: Cannot modify header information - headers already sent by (output started at /usr/local/lib/php/smarty/Smarty.class.php:2674)
As written earlier, removing this empty line obviously solved my problem. I am just trying to give you some feedback here.
So, knowing that this empty line is useless, you might consider deleting it in case it could trouble some users.
Regards,
Ronan
_________________________________________________________________
Jouez avec MSN Messenger et gagnez des voyages et des XBox !
http://messenger.msn.fr/promo