hi,
on our webserver both open_basedir and safe_mode are active, so I have
to use move_uploaded_f ile().
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
set?
thank you,
--
Felix Natter
on our webserver both open_basedir and safe_mode are active, so I have
to use move_uploaded_f ile().
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
set?
thank you,
--
Felix Natter