You are here: Re: mkdir not working « PHP Programming Language « IT news, forums, messages
Re: mkdir not working

Posted by Michael Fesser on 01/30/08 16:01

..oO(John)

>"Michael Fesser" <netizen@gmx.de> wrote in message
>news:g361q3ds70v9t9veq9hdg93uovmjmskd7t@4ax.com...
>> .oO(John)
>>
>>>The following does not create a directory neither does it give any error
>>>message. Any ideas?
>>>
>>>$umask=umask(0);
>>>$where="/var/www/vhosts/example.com/httpdocs/friday/";
>>>mkdir ($where,0777);
>>>umask($umask);
>>
>> error_reporting set to E_ALL|E_STRICT? display_errors ON?
>
>Thanks. Now got a message.
>
>Warning: mkdir() [function.mkdir]: Permission denied in
>/home/john/example.com/adhoc.php on line 25
>
>[Line 25 is mkdir]

Should be pretty clear now. The web server doesn't have write access in
the given directory.

Micha

 

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

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