Re: FUNCTION TO CHECK IMAGE
| From: | BBC | Date: | Mon, 11 Sep 2006 18:38:01 +0000 |
| Subject: | Re: FUNCTION TO CHECK IMAGE | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241620@lists.php.net to get a copy of this message | ||
> What types of images are these? JPG, PNG, GIF?
Its jpg. Look... I don't know exactly what your point, I'm just asking you about the
function to resolve the size of image like the
codes below:
if (file_exists($img_path)){
list($width,$height) = getimagesizes($img_path);
}else{
$width = $ height = $max_size;
}
So is there any other option to replace file_exists();?