|
Posted by moriman on 11/25/05 11:30
"J.O. Aho" <user@example.net> wrote in message
news:3uo2ouF10trcmU1@individual.net...
> moriman wrote:
> > Hi,
> >
> > I'm having a problem referring to other files in my public_html
directory Ώ
> >
> > Below is a short script (test.php) to show the problem...
> >
> > <?php
> > $filename1 = "c:\\\\xitami-25\\app\\public_html\\title.php";
>
> Full paths are always found, as long as they are correct.
>
Hi,
Thx for the reply ;-)
N.B. I'm running this script through Xitami on my own poot (i.e. not hosted
elsewhere)
>
> > $filename2 = "http://home/title.php";
>
> The file isn't on the "local" filesystem, and therefore false.
>
The script I'm using is located (browser-wise) at http://home/test.php,
isn't a file in the same directory classed as being in the 'local'
filesystem?
>
> > $filename3 = "title.php";
>
> only true if the file is in the same directory where executed.
> When executed through a webserver, then it's relative to the location of
the
> script.
>
again, as above, it *is* in the same directory
sorry, still confused :(
mori
>
> //Aho
[Back to original message]
|