You are including file from external server and you are accessing it via HTTP protocol. So it will include the output of http://200.200.1.1/Folder/Config.php and the output of that script is nothing. If you want to see the output just put http://200.200.1.1/Folder/Config.phpin browser and check. btw what exactly you want to achieve by including external config file? On Tue, Nov 3, 2009 at 2:05 PM, Anton Heuschen <antonfh@xxxxxxxxx> wrote: > Question is wrt to including a config file on an external server in a > local include > > Lets say that on 127.0.0.1 I have test.php with > > include http://200.200.1.1/Folder/Config.php > > $obj = new RemoteClass() > > do stuff > > > and on server 200.200.1.1 I have my Config.php file which is contains > the class RemoteClass() { echo "test" } > > > > If I try to test it locally it says it cannot find RemoteClass ... > > > How can I include/require a config (or any other php classes file) on > my local running php script ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Devendra Jadhav