You are here: Re: mkdir() problems « PHP Programming Language « IT news, forums, messages
Re: mkdir() problems

Posted by Andy Hassall on 02/27/06 23:16

On 27 Feb 2006 11:32:57 -0800, joelbyrd@gmail.com wrote:

>I'm trying to do a mkdir(), but I'm getting permission denied error,
>even though I've set the mode to 0777: mkdir($full_path, 0777). I
>also couldn't do a chmod successfully.
>
>The code is something like:
>
>mkdir("/home/httpd/vhosts/website.com/httpdocs/dev1/test_folder1",
>0777);
>
>What's the problem?

What are the permissions on the parent directory?

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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