ID: 6652
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Function Specific
Assigned To: 
Comments:

hm... unable to reproduce it on RH6.2 with 4.0.4
does it happen only with include() and require()? does the appended newline appear 
after the include()d / requre()d text at the end of the whole resulting document?
what's the auto_prepend_file directive set to? 

Previous Comments:
---------------------------------------------------------------------------

[2001-01-13 12:52:56] [EMAIL PROTECTED]
Yes,  We are now running 4.0.4  It has the same result.


-Kevin

---------------------------------------------------------------------------

[2001-01-12 21:29:03] [EMAIL PROTECTED]
have you by any chance updated your PHP since 4.0.2? does it still happen?

---------------------------------------------------------------------------

[2000-09-17 02:14:47] [EMAIL PROTECTED]
Start include.php
START<?include('/web/file.inc')?>END
End include.php

Start file.inc:
This is some text
End file.inc

Niether file has a trailing new line.  Remember to do a view source to see this 
because the browser will not render a new line.  

---------------------------------------------------------------------------

[2000-09-16 18:25:09] [EMAIL PROTECTED]
Cannot reproduce that on my system. Could you publish your file.inc?

---------------------------------------------------------------------------

[2000-09-10 18:11:37] [EMAIL PROTECTED]
When using include() or require imbeded in HTML a trailing new line is added. Example:

START<?include('/file.inc');?>END

Will produce:

START<<File contents>>
END

The file can contain any number of characters.


---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=6652


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