Files from many different directories include the same template.php

Also I am using IIS.

Charles

-----Original Message-----
From: Wayne [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 3:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: Include virtual?

if the file which you are including it from is located at:
e:\sites\website1\somefile.php

using either:
include("E:\Sites\Website1\template.php");
OR:
include("template.php");

will both work :)


"Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
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

Charles


-----Original Message-----
From: Wayne Pearsall [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:09 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: Include virtual?


yeh, it will work that way :)
 [EMAIL PROTECTED] wrote:Not sure I understand this.

We all know you can do
include("path-relative-to-current-directory/filename");
We all also know you can do
include("/path-relative-to-root-of-server/filename");

The original question was, basically, can you do
include("path-relative-to-root-of-website/filename").
And if so, how?

Jill


-----Original Message-----
From: Wayne [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 6:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Include virtual?


include("filedir/file.php");

this will work with full or virtual paths :)



================================
Get Free Visitors, Invest and Make *at least* 144% Return on Purchases
Guarenteed!:
http://www.1heluva.com/cgi-bin/join.cgi?refer=2028&trk=sig
Click For Real Money, Visitors, Prizes, and MORE!:
http://www.clickitycash.com/cgi-bin/join.cgi?refer=29055&trk=sig




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs



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


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

Reply via email to