Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check image size before upload

$image_size = $_FILES["inputname"]["size"];
if($image_size > 10000){
	echo "size too large";
}
 
PREVIOUS NEXT
Tagged: #php #check #image #size #upload
ADD COMMENT
Topic
Name
6+8 =