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

Posted by linda on 11/18/06 05:30

"Not here Not Now" <"Not here Not Now"@nospamnospam.com> wrote in message
news:4lq7h.10$_H5.8@tornado.texas.rr.com...
>I have tried still another way and I am still not able to create a
>directory with the 777
>
> $mkDIR = $username;
> mkdir($mkDIR);
> chmod($mkDIR, 0777);
> Directory is succesfuly made still with wrong permission
>
> can some one answer this question
>

Sorry don't know that much about php, still learning, but have read loads
though, lol... have you tried looking at php.net for an answer?

http://uk.php.net/chmod
http://uk.php.net/manual/en/function.mkdir.php

I'm sure i read some where that a directory sturcture leading to a
specified directory that you intend to chmod must have the same permissions!
But I maybe wrong....

Best wishes,
Linda

 

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

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