You are here: Permissions « PHP Programming Language « IT news, forums, messages
Permissions

Posted by Shelly on 10/27/49 11:19

I have a new server and I have my files up there. The files are in
/var/www/html/. In this directory I have another directory that I created
called "users". I am unable to figure out how to set permissions on this
directory, and what those permissions should be. I am using ShieldHost.

When there is a new user, and he enters his desired name and password, as
part of the process I want to create a small directory tree under "users"
with the username as the top level. I get that I don't have permission to
do that with the mkdir in the code. The line of code is:

mkdir($_SESSION['UserRoot'] . $ss_username, 0755);

where the session variable has the directory path ending in "/".

Any ideas?

Shelly

 

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

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