RE: [PHP] Require files paths ?????
| From: | Maxim Maletsky | Date: | Tue, 26 Sep 2000 03:34:39 +0000 |
| Subject: | RE: [PHP] Require files paths ????? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17498@lists.php.net to get a copy of this message | ||
require() requires a full path from your server.
use
require("$DOCUMENT_ROOT/dbconnect.php3");
see the manual on php.net/quickref
-----Original Message-----
From: Ade Smith [mailto:php@stormbreaker.com]
Sent: Sunday, September 24, 2000 7: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