Re: Re: Include virtual?
| From: | Wayne | Date: | Fri, 28 Feb 2003 21:22:18 +0000 |
| Subject: | Re: Re: Include virtual? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18781@lists.php.net to get a copy of this message | ||
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