Hello, move_uploaded_file
can not get a file.
echo " <form method=\"post\" enctype=\"multipart/form-data\" action=\"testar_formato.php\" id=\"upload-container\" class=\"fileUpload\">
<span>Upload</span>
<input id=\"arquivo\" class=\"upload\" type=\"file\" />
<br>
<input id=\"enviar\" type=\"submit\" />
</form>";
This file here:
echo " <form action=\"testar_formato.php\" id=\"upload-container\" class=\"fileUpload\">
<span>Upload</span>
<input id=\"arquivo\" class=\"upload\" type=\"file\" />
<br>
<input id=\"enviar\" type=\"submit\" />
</form>";
Give this error:
And this is line 2:
$arquivo_up = $_FILES['arquivo']['name'];