You are here: Re: file saving problem... « PHP Programming Language « IT news, forums, messages
Re: file saving problem...

Posted by My Pet Programmer on 12/26/07 04:40

thushianthan15@gmail.com said:
> Hi everyone,
>
> I am using Fedora Core, version 6 as my development platform. My
> problem is if i have to save my PHP files in /var/www/html/, i need to
> log in as a root. As a normal user, the OS is not allowing me to save
> the files in /var/www/html directory. Due to some restrictions, i
> cannot always log in as a root. So is there is any other way i.e.
> whether we can store the PHP files in some other directory etc...
>
> Any suggestions ? Thank you in advance :)
>
>
> Thushanthan.

The files you need to save could be stored in a sub-directory, and then
you could set the permissions (CHMOD) the directory to allow write
access from the php page. I would not recommend setting that permission
level on your docroot (the html/ dir).

~A!

 

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

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