#6652 [Com]: include() require() add trailing CRLF
| From: | hoanghp2000 at yahoo dot com | Date: | Fri, 16 Aug 2002 03:24:40 +0000 |
| Subject: | #6652 [Com]: include() require() add trailing CRLF | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16981@lists.php.net to get a copy of this message | ||
ID: 6652
Comment by: hoanghp2000@yahoo.com
Reported By: kevin@henrikson.com
Status: Closed
Bug Type: *Function Specific
Operating System: RedHat Linux 6.2
PHP Version: 4.0.4
New Comment:
I used IIS 5.0, PHP 4.0.5
When I used include() function with charset=utf-8
The result page have some character before tag. If you used IE 5.5 SP2
those characters did not view on the screen. If you used older IE you
will see the block on the screen.
How do you solve this problem ?
Previous Comments:
------------------------------------------------------------------------
[2001-04-10 09:31:35] sniper@php.net
No feedback. If this happens with soon to be released PHP 4.0.5 too,
reopen this bug report.
--Jani
------------------------------------------------------------------------
[2001-03-08 20:14:53] sniper@php.net
I can not reproduce this one either.
Are you sure that the include.php has got
only one line in it which isn't terminated with newline?
--Jani
------------------------------------------------------------------------
[2001-01-13 17:31:19] cynic@php.net
sorry, it should have been
... after the include()d / requre()d text OR at the end of ...
------------------------------------------------------------------------
[2001-01-13 13:11:50] cynic@php.net
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?
------------------------------------------------------------------------
[2001-01-13 12:52:56] kevin@henrikson.com
Yes, We are now running 4.0.4 It has the same result.
-Kevin
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/6652
--
Edit this bug report at http://bugs.php.net/?id=6652&edit=1