[Phpmyadmin-devel] insert/update row with file contents
Sebastian Mendel
lists at sebastianmendel.de
Tue Dec 12 16:48:24 CET 2006
Marc Delisle schrieb:
>> did anyone test if PHP can move a file out of the open_basedir into the
>> open_basedir ??? this would be senseless ...
>
> This is precisely the goal of move_uploaded_file(), to take a file
> validly uploaded thru PHP and to move it, respecting safe mode and the
> open_basedir restrictions.
yes, right,
but move_uploaded_file() is used there to move a NOT uploaded file - it
trys to move a file placed in $cfg['UploadDir'] by something other than
FORM - this should fail!
--
Sebastian Mendel
www.sebastianmendel.de
More information about the Developers
mailing list