PHP Vérifiez la taille de l'image avant de télécharger
$image_size = $_FILES["inputname"]["size"];
if($image_size > 10000){
echo "size too large";
}
Programming Is Fun
$image_size = $_FILES["inputname"]["size"];
if($image_size > 10000){
echo "size too large";
}