RE: [PHP] Require files paths ?????

From: Date: Wed, 27 Sep 2000 07:24:09 +0000
Subject: RE: [PHP] Require files paths ?????
Groups: php.general 
Request: Send a blank email to php-general+get-17732@lists.php.net to get a copy of this message
$DOCUMENT_ROOT people... Sigh. RTFM. in current *working* directory require "xxx.php"; for specific paths require $DOCUMENT_ROOT . "/mypath/xxx.php"; require "http://www.xxx.com/xxx.php"; is not correct, thats a http connection to your server, which will probably serve you the output of xxx.php as its configured to, not the source you're trying to include. -----Original Message----- From: Ade Smith [mailto:php@stormbreaker.com] Sent: September 24, 2000 06:58 AM To: php-general@lists.php.net Subject: [PHP] Require files paths ????? Hi all Why does this work require("dbconnect.php3"); and this doesn't when this is the full path to the file, require("http://www.domainname.com/dbconnect.php3"); I am pulling my hair out over this one can anyone shed some light on it ? THANKS !!! Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#17732) next »