note 56876 deleted from function.ob-clean by mazzanet

From: Date: Sun, 18 Sep 2005 09:10:01 +0000
Subject: note 56876 deleted from function.ob-clean by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95356@lists.php.net to get a copy of this message
Note Submitter: Didier ---- The reason for the blank line appearing when you use an include is usually simply because you have a blank line somewhere in the include outside the php tags. Remember an included file is interpreted just like as if you copy and pasted it, so if you got something like this // include.php contains all my default funtions <?php function default() { } ?> then the comment is printed for the entire world to read. Using ob_clean might be a work around but it would be better to write your include file properly.

« previous php.notes (#95356) next »