Re: is_dir paths

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

 



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

This outputs a fully qualified path to the current working directory
(/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 foler

>
> I have better question:
>
> 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)

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