Unidentified
Living the Developer Life...
- Jun 19, 2012
- 144
- 20
Close this thread
Ofcourse it does that, because you don't set UPLOAD_ERR_OK anywhere, so it wil automaticly execute that piece of PHP code...no error but it is doing this
if ($myFile["error"] !== UPLOAD_ERR_OK) {
echo "<p>An error occurred.</p>";
exit;
}