move_uploaded_file failure

turrikovva

New Member
Can someone help me understand why this is returning false?\[code\]if ((move_uploaded_file($_FILES[$field]['tmp_name'], $path))) {\[/code\]As in, potential causes. I have checked the variables are correct and I have checked permissions on the destination folder which is 777.Cheers!For those wanting to see var_dump ($_FILES);\[code\]array(1) { ["image"]=> array(5) { ["name"]=> string(14) "accountile.png" ["type"]=> string(9) "image/png" ["tmp_name"]=> string(14) "/tmp/php28IQhv" ["error"]=> int(0) ["size"]=> int(394) } }\[/code\]
 
Back
Top