Reply to Re: [PHP] is_dir paths

Your name:

Reply:


Posted by "Mark Rees" on 09/26/05 15:52

> > 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация