Move startup of session earlier in CSV check
phpcs-errors:0 phpunit-status:successful
This commit is contained in:
@ -5,6 +5,7 @@ require_once __DIR__ . "/functions/functions.php";
|
||||
$target = "csv/";
|
||||
$target .= basename( $_FILES['uploaded']['name']);
|
||||
$targetpart = basename( $_FILES['uploaded']['name']);
|
||||
|
||||
//This is our size condition
|
||||
if ($uploaded_size > 40000000) {
|
||||
echo "Your file is too large.<br>";
|
||||
|
Reference in New Issue
Block a user