You are here: Re: Set directory permissions - directory already exists « PHP Programming Language « IT news, forums, messages
Re: Set directory permissions - directory already exists

Posted by Karl Groves on 01/10/07 01:43

Andy Hassall <andy@andyh.co.uk> wrote in
news:am38q29u6aaopmvu0ehhkjf6altuht3pc7@4ax.com:

> On Tue, 09 Jan 2007 21:32:33 GMT, Karl Groves
> <karl@NOSPAMkarlcore.com> wrote:
>
>>Can anyone tell me how to go about changing a directory's permissions
>>once it already exists? I see in the manual how to do that to a file
>
> chmod works on both.
>

Thanks for the response. The PHP manual says:
<quote>
chmod -- Changes file mode
Description
bool chmod ( string filename, int mode )

Attempts to change the mode of the file specified by filename to that given
in mode.
</quote>

Which led me to believe it was only for files.
I'll give it a try. Thanks

--
Karl Groves

 

Navigation:

[Reply to this 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

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