Re: include with remoted address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



silverio.di@xxxxxx 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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux