I still have the problem
Hello Ray, thanks for answering.
The truth is that I still have the problem.
I have updated my validation script as well:
----
<?php
if (isset($_POST["FAIV1"]) || isset($_POST["FAIV1_x"])) {
$WAFV_Redirect = "";
$_SESSION['WAVT_crearFAI2_506_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateNM(((isset($_FILES["V1Pru"]))?$_FILES["V1Pru"]["size"]:"") . "",100,52428800,0," ,",true,1);
$WAFV_Errors .= WAValidateNM(((isset($_FILES["V1Cert"]))?$_FILES["V1Cert"]["size"]:"") . "",10,12582912,0," ,",true,2);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"crearFAI2_506");
}
}
?>
----
The validation show if they are placed in two span tags like this:
----
<span style="color:#ffffff; background-color:#ff0000; padding:4px; text-align:center;"> El tamaño de su documento debe ser inferior a 50 MB. Comprímalo. </span>
<?php //WAFV_Conditional crear_FAI_2.php crearFAI2_506(1:)
}
}
}?>
<span style="color:#ffffff; background-color:#ff0000; padding:4px; text-align:center;"> El tamaño de su documento debe ser inferior a 12 MB. Comprímalo. </span>
<?php //WAFV_Conditional crear_FAI_2.php crearFAI2_506(2:)
}
}
}?>
---
And it still happens that if the condition is met (the size of the files is less than required) the files go up and if it is not met they do not go up, although in this case they do not show the error messages to warn the user that they need to compress them, it's what I want...
Could it be because my name change script interferes to remove particular characters from my language and add the date to the name?
Can you or someone give me a clue?
Thank you