> 'include' seems to put an extra newline after the included file.
> Example:
> 
> a.php
> -----
> start:<?php include 'a.txt'; ?>:end
> 
> a.txt
> -----
> middle
> 
> The output is:
> 
> start:middle
> :end
> 
> Note that there is no newline at the end of 'middle' in a.txt, yet PHP
> puts one in anyway. 

Uh, are you sure?  How did you create a.txt?  Try:
od -c a.txt

-Rasmus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to