PHP memeriksa ukuran gambar sebelum diunggah
$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";
}