You are here: Re: Newbie Help - mkdir problem « PHP Programming Language « IT news, forums, messages
Re: Newbie Help - mkdir problem

Posted by Colin McKinnon on 01/31/06 21:58

Chris wrote:

> I'm trying to use mkdir() to make a directory with a mode of 0777 but it
> always gets created with 0755. How do I change it to 0777.
>

set umask=0000 before starting your webserver. Although you can set the
umask from PHP recommended practice is to use chmod after creating files /
dirs (RTFM for explanation)

C.

 

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

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