|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-09-10 18:11 UTC] kevin at henrikson dot 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
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.