Re: Upload script error
- From: Erwin Moller <since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Thu, 01 Dec 2005 10:13:05 +0100
> ls -l > will print out the directory list with permissions, owner group
> and size etc....
> chmod 777 folder_name > this will allow the folder to be written to
> chown owner:group folder_name > this will change the owner and group of
> the folder name
I would not advocate chmod 777 on any directory you want to keep for
It opens the directory for read/write for everybody with access to the same
In a shared hosting environment this is not very safe..
It may be better to have a little chit-chat with your provider and ask him
for a solution with an extra group that contains the original user and
www-data (or whatever apache is running as).
Then change to 774 <dirname>
- Prev by Date: Re: Registry operation in PHP(Need to read some windows registry Key on client machine)
- Next by Date: Re: saving data from a form into a seperate .html file
- Previous by thread: Re: Upload script error
- Next by thread: Re: Reading from txt file