PHP 4.0 Bug #6652 Updated: include() require() add trailing CRLF

From: Date: Sun, 17 Sep 2000 06:14:47 +0000
Subject: PHP 4.0 Bug #6652 Updated: include() require() add trailing CRLF
Groups: php.dev 
Request: Send a blank email to php-dev+get-33361@lists.php.net to get a copy of this message
ID: 6652 User Update by: kevin@henrikson.com Status: Feedback Bug Type: *Function Specific Description: include() require() add trailing CRLF 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. Previous Comments: --------------------------------------------------------------------------- [2000-09-16 18:25:09] stas@php.net Cannot reproduce that on my system. Could you publish your file.inc? --------------------------------------------------------------------------- [2000-09-10 18:11:37] kevin@henrikson.com 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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6652

« previous php.dev (#33361) next »