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!