You are here: (!mkdir("$username", 0777)) and umask « All PHP « IT news, forums, messages
(!mkdir("$username", 0777)) and umask

Posted by Not here Not Now on 11/17/06 01:40

$oldumask=umask(0);
chmod("$username", 0777);
umask($oldumask);

Ok tried it plain as just umask with out params

Default it should set to 777 still the directory is being created with
the permission set to 755.

what is the deal here and why is this happening?

there has to be a real simple fix here.

 

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

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