[prev in list] [next in list] [prev in thread] [next in thread]
List: php-windows
Subject: RE: [PHP-WIN] Re: Include virtual?
From: "Charles P. Killmer" <charlesk () netgaintechnology ! com>
Date: 2003-02-28 21:46:21
[Download RAW message or body]
Files from many different directories include the same template.php
Also I am using IIS.
Charles
-----Original Message-----
From: Wayne [mailto:w_pearsall@yahoo.co.uk]
Sent: Friday, February 28, 2003 3:22 PM
To: php-windows@lists.php.net
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" <charlesk@netgaintechnology.com> wrote in message
news:B141BE87473AA64FB24370C43CEA54BD29F55F@ngexbe1.my-netgain.com...
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:w_pearsall@yahoo.co.uk]
Sent: Friday, February 28, 2003 12:09 PM
To: Jill.Ramonsky@Aculab.com; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Re: Include virtual?
yeh, it will work that way :)
Jill.Ramonsky@Aculab.com 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:w_pearsall@yahoo.co.uk]
Sent: Friday, February 28, 2003 6:43 AM
To: php-windows@lists.php.net
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic