Why am I getting this warning?
Warning: move_uploaded_file(../documentos/games/banner.jpg): failed to open stream: No such file or directory in C:\xampp\htdocs\admin\gameimage.php on line 11
Warning: move_uploaded_file(): Unable to move 'C:\xampp\tmp\php5AD3.tmp' to '../documentos/games/banner.jpg' in C:\xampp\htdocs\admin\gameimage.php on line 11
The code is:
$nome_arquivo = $_FILES['userfile']['name'];
move_uploaded_file($_FILES['userfile']['tmp_name'], "../documentos/games/".$nome_arquivo);
?>
} else {
?>
No comments:
Post a Comment