[PHP] safe_mode + move_upload_file

2006-02-13 Thread fjug
Hi, I try to use move_upload_file function with safe_mode (with PHP 4.3.10). When I turn the safe_mode off, the function works fine, but when I turn it back to on, the function doesn't work (with no error message). When I read the documentation about safe_mode, I do not see any restriction conce

[PHP] RE: safe_mode + move_upload_file

2006-02-13 Thread fjug
Le Mon, 13 Feb 2006 09:09:54 -0600, Jay Blanchard a écrit : > From TFM > > http://us2.php.net/manual/en/function.move-uploaded-file.php > > "Note: move_uploaded_file() is both safe mode and open_basedir aware. > However, restrictions are placed only on the destination path as to allow > the movi

[PHP] Re: RE: safe_mode + move_upload_file

2006-02-15 Thread fjug
Le Tue, 14 Feb 2006 09:47:23 +1100, Chris a écrit : > move_uploaded_file is "safe-mode aware" - it doesn't care whether > safe-mode is on or off. > You can only use move_uploaded_file like: > move_uploaded_file($_FILE['blah']['tmp_name'], $destination); > Check that your destination directory i

[PHP] Re: Re: RE: safe_mode + move_upload_file

2006-02-16 Thread fjug
Le Thu, 16 Feb 2006 10:18:40 +1100, Chris a écrit : > Basically your '$path' is not owned by the right user. > OK you are right, it's hard to deal beetween rights implied by safe-mode and Unix rights... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/