Re: include with remoted address
| From: | Burhan Khalid | Date: | Wed, 06 Apr 2005 13:05:01 +0000 |
| Subject: | Re: include with remoted address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212414@lists.php.net to get a copy of this message | ||
silverio.di@qem.it wrote:
A this point to include a file in a my script I must use for each .PHP file: <?phprequire_once $g_hostname . '/config_inc.php';'/html_api.php';html_head_end();?> There is another way (i think to php.ini) to set default include, require_once, working area to my 'http://localhost:xxx/' avoid to manually insert upon code ?There is the include_dir directive in php.ini, but afaik, it requires a file path, not a URL.