You are here: Re: [PHP] Changing directory permissions??? « PHP « IT news, forums, messages
Re: [PHP] Changing directory permissions???

Posted by Al on 07/11/05 22:13

The key word is "directory"

chmod only works for files

PHP5 has a ftp_chmod; but not 4.3.x


Philip Hallstrom wrote:
>> Is there a way to change directory permissions with pre php5.0?
>> Linux/Apache
>>
>> I'm designing a CM application and would like my code to enable
>> non-techies to be able to create a simple text file. [e.g., directory
>> temporarilly from 755 to 757 and then back again.]
>>
>> PHP5.0 has a chmod; but not, 4.3.x
>
>
> Huh? chmod has been around since V3...
>
> http://us2.php.net/chmod
>
> chmod
> (PHP 3, PHP 4, PHP 5)
> chmod -- Changes file mode

 

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

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