Strange output using include()/require()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux