Reply to Re: directory permissions

Your name:

Reply:


Posted by johnmark on 11/22/06 16:58

Yes, I am enclosing the directoryname with quotes

John

Kim André Akerø wrote:
> jkmambo@gmail.com wrote:
>
> > Andy Hassall wrote:
> > > On 21 Nov 2006 11:37:08 -0800, johnmark@fastermail.com wrote:
> > >
> > > > How does one set directory permissions in PHP? The manual only
> > > > refers to chmod function changing permissions for files. I try to
> > > > use it for directories but it didn't work.
> > >
> > > In what way did it not work? Because that's the correct function
> > > to use.
> >
> > Here is the statement I am running
> > chmod(./directoryname/, 0777)
>
> You ARE enclosing the directory path in quotes, right?
>
> chmod("./directoryname/", 0777);
>
> --
> Kim André Akerø
> - kimandre@NOSPAMbetadome.com
> (remove NOSPAM to contact me directly)

[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

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