non-POST file-upload with ftp_*?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


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
can be handled with javascript)

Any other way to make a file-upload with safe_mode and open_basedir

thank you,

Felix Natter

Site Timeline