|
|
|
@ -117,8 +117,8 @@ if ($uploadOk == 0) {
|
|
|
|
|
} else {
|
|
|
|
|
// If anything wrong here, go to failure condition.
|
|
|
|
|
//echo "Sorry, there was a problem uploading your file.";
|
|
|
|
|
// This part of code should never occur. But in case it does, redirect user to error page with code 500.
|
|
|
|
|
header('Location: ./failed.php?error=500');
|
|
|
|
|
// This part of code should never occur. But in case it does, redirect user to error page with code 422.
|
|
|
|
|
header('Location: ./failed.php?error=422');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|