Re: include with remoted address

From: Date: Thu, 07 Apr 2005 04:13:05 +0000
Subject: Re: include with remoted address
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212500@lists.php.net to get a copy of this message
On Wed, April 6, 2005 12:00 am, silverio.di@qem.it said: > Hi to all, > I've wrote a program with a web-browser interface (IE) and > a built-in server (INDY) which call the php-cgi.exe CGI application > and redirect stdio/stdout/sterr to pass .php scripts readed from > a crypted and zipped sets of files. The arguments are passed > between QUERY_STRING enviroment variabile and all work very well. > > A this point to include a file in a my script I must use for each .PHP > file: > > <?php > require_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 ? > > thank you very much.... > and sorry for my ignorance about php matter auto_prepend It's in php.ini -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#212500) next »