RE: [PHP-WIN] Re: Include virtual?

From: Date: Fri, 28 Feb 2003 20:59:44 +0000
Subject: RE: [PHP-WIN] Re: Include virtual?
Groups: php.windows 
Request: Send a blank email to php-windows+get-18780@lists.php.net to get a copy of this message
Good idea but, we host many sites and cannot have them all using each others include directories. Also don't want to use ini_set at the top of every file, if that can be set per_dir. Charles -----Original Message----- From: Christoph Grottolo [mailto:cg@gordimer.net] Sent: Friday, February 28, 2003 2:53 PM To: Charles P. Killmer Subject: Re: [PHP-WIN] Re: Include virtual? charlesk@netgaintechnology.com (Charles P. Killmer) wrote: >I think my original question has been lost. > > >Include("/template.php"); > >I want this to include the file located at >e:\sites\website1\template.php >Not >e:\template.php edit include_path in your php.ini file: add e:\sites\website1 to the existing include path. include("template.php") without slash. If you don't use cgi, restart your webserver. HTH Christoph

« previous php.windows (#18780) next »