php check image size before upload

Solutions on MaxInterview for php check image size before upload by the best coders in the world

showing results for - "php check image size before upload"
Dominique
20 May 2019
1$image_size = $_FILES["inputname"]["size"];
2if($image_size > 10000){
3	echo "size too large";
4}