By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,642 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,642 IT Pros & Developers. It's quick & easy.

non-POST file-upload with ftp_*?

P: n/a
hi,

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
set?

thank you,

--
Felix Natter
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.