Re: [PHP-DEV] include and extra newline

2001-10-25 Thread Andrei Zmievski
On Thu, 25 Oct 2001, [EMAIL PROTECTED] wrote: > Uh, are you sure? How did you create a.txt? Try: > od -c a.txt Hmm, you are right. False alarm. -Andrei "The secret of flying is to throw yourself at the ground, and miss." -- Douglas Adams -- PHP Development Mailing List

Re: [PHP-DEV] include and extra newline

2001-10-25 Thread rasmus
> 'include' seems to put an extra newline after the included file. > Example: > > a.php > - > start::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 sur

[PHP-DEV] include and extra newline

2001-10-25 Thread Andrei Zmievski
'include' seems to put an extra newline after the included file. Example: a.php - start::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 th