|
php safe_mode and uploading
is it possible to upload files via http into directories created by php while in safe_mode?
cause ive made a webpage where admin creates a fotoalbum and an appropriate directory is created by php where all the album photos should be stored.
the problem is that as soon as i try to upload a photo into this directory, move_uploaded_file returns error such as "script whose uid is 1000 cannot access /dir/dir/dir whose uid is 33.." which is weird as that /dir/dir/dir has been created by the same script couple of second before.
when i try to upload files into directories created manually, it works fine.
any ideas how to solve this?
thanks in advance.
__________________
"Programming is an art form that fights back."
|