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:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 2:53 PM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] Re: Include virtual?

[EMAIL PROTECTED] (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

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

Reply via email to