Strange output using include()/require()
| From: | melz | Date: | Fri, 13 Jul 2007 23:40:50 +0000 |
| Subject: | Strange output using include()/require() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-258835@lists.php.net to get a copy of this message | ||
Hello,
I'm new to this newsgroup so I hope this is the right place to ask for help.
I have a script that starts with the following lines:
Line1: require_once 'config.php';
Line2: require_once 'common.php';
Line3: require_once 'HTTP/Request.php';
However, when I run it on the browser, where line 1-2 is, I'll see the following output

That's two times 
So it only affects both config.php and common.php. I can't seem to figure out what's wrong with both files (they contain constants and a couple functions) since it does not affect HTTP_Request (from PEAR) at all.
I hope that makes sense. Any help is appreciated.
Thanks!
-m.