Re: is_dir paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > what does the following output:
> > >
> > > var_dump (getcwd());

Sorry, this wasn't clear. I mean it outputs c:\...\htdocs\lists\admin

 Not sure about the permissions. I'm using windows 2000, and the 'temp'
 directory has the same user permissions as the rest of the htdocs folder

> > what does the following output:
> >
 > var_dump (realpath(getcwd()));
> > var_dump (realpath('temp'));
> > var_dump (realpath("/lists/admin/temp"));
>

 That outputs (paths trimmed)

  string(56) "C:\...\htdocs\lists\admin"
 string(61) "C:\...\htdocs\lists\admin\temp"
 bool(false)

var_dump (realpath("../../lists/admin/temp"));

this outputs the same as

var_dump (realpath('temp'));

Does that help?

 Thanks

 Mark

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux