Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Felix Natter
July 12, 2004, 9:59 pm
rate this thread
on our webserver both open_basedir and safe_mode are active, so I have
to use move_uploaded_file().
But when I do this, the destination file is 0600 and uid/gid=www-data
and due to safe_mode I cannot do anything with that file
(for details see related posting "move_uploaded_file + safe_mode")
A common way to circumvent safe_mode is by using ftp (ftp_*-API), so
is there a way to do a file-upload (from the the browsing user to the
server that runs php) with it?
(Ideally this should work with a <input type="file"...> but this
Any other way to make a file-upload with safe_mode and open_basedir