Reply to Re: [PHP] mkdir security concern

Your name:

Reply:


Posted by Marek Kilimajer on 01/20/05 13:09

kids_pro wrote:
> Hi there,
>
> I want to create a script.
> When user register I want to create a folder :
> users\<new_user_folder>\images
> The purpose is that I want to allow them to upload image to this image
> folders.
>
> What sort of permission should I give to each folder
> Root: users, <new_user_folders>, and images folder.
>

The least necessary. That depends on your server setup, primarily the
user id your scripts are run under (mod_php/cgi or suexec). You might
want to use ftp functions to create the directories if they would be
created with apache as the owner otherwise.

[Back to original 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

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