RE: [PHP] Include/require
| From: | Martin Towell | Date: | Thu, 20 Jun 2002 04:19:08 +0000 |
| Subject: | RE: [PHP] Include/require | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103073@lists.php.net to get a copy of this message | ||
both absolute and relative paths should just work
-----Original Message-----
From: James Drabb [mailto:JDrabb@cfl.rr.com]
Sent: Thursday, June 20, 2002 2:19 PM
To: php-general
Subject: [PHP] Include/require
Hello *,
Is there a way to make include()/require() take a a full
virtual path? I.e. require_once("/inc/myinc.php")? It gets
a little annoying to do require("../../../../file.php").
Thanks,
Jim Drabb
--
James Drabb JR - Programmer Analyst - Orlando, FL - JDrabb@cfl.rr.com
---------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php