Re: Include/require
| From: | Jason Morehouse | Date: | Thu, 20 Jun 2002 05:28:47 +0000 |
| Subject: | Re: Include/require | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103079@lists.php.net to get a copy of this message | ||
You can... just put the full path in. At least it works for me -- what
version are you running?
On Thu, 20 Jun 2002 12:18:33 +1200, James Drabb wrote:
> 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
--
Jason Morehouse (jm@netconcepts.com)
Netconcepts LTD - Auckland, New Zealand
* Linux: Because rebooting is for adding hardware.