'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. This screws up Smarty, so I'd like to find out why
this is happening and if it's not absolutely required, can we eliminate
it.

-Andrei

Programming X-Windows is like trying to find
the square root of pi using roman numerals. 
- Henry Spencer

-- 
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