move_uploaded_file() is not working in kubuntu

Hi,
I’m uploading the image file from my HTML using POST method and I use move_uploaded_file($_FILES[“fileid”][“tmp_name”],$path) but it is not moving the file.

$path is /www/items/ has permission 777 and I create another folder inside of items using PHP code as
mkdir(“foldername”,0777) but that permission is set as rwxr_xr_x(not rwxrwxrwx why?).To this folder I move the uploaded file(but file is not moved).

Any help is greatly appreciated

Thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service