include() from one server to another server

From: Date: Tue, 13 Mar 2001 14:54:10 +0000
Subject: include() from one server to another server
Groups: php.general 
Request: Send a blank email to php-general+get-43665@lists.php.net to get a copy of this message
Hi! I tried to use the php code, "include()" to have the ghost server to point to the file in the origial server. And I got the error message instead. >Warning: Failed opening >'https://www.whatever.com/DBconn.ini' for inclusion >(include_path='.:/usr/local/lib/php.ini') in >/home/website/ghost_ecbi/secure/ecbi_index.php on line 15 The URL address point to the original server. The include_path="/usr/local/lib/php.ini" refer to the path in the ghost server. From the look of it, I get the impression that the PHP code, include() is not the correct function to use. Is there any other way? Thanks, Scott

« previous php.general (#43665) next »