<?php
//this is the image to check , change this
if($img = @GetImageSize("test.gif"))
{
//if image exists display the following information
echo "image exists , here is some info<br>";
//display width in pixels
echo "width = $img[0]<br>";
//display height in pixels
echo "height = $img[1]<br>";
}
else
{
//cant find image message
echo"image does not exist";
}
?>
kaynak: ordan burdan
Tags: form, nasıl, nedir, php, resim, scripti, Scriptler, vePhp - Resim Varmı _ Varsa Boyu Ve Eninin ölçülerini Almak (scripti, nasıl, nedir?) konusu
Benzer yazılar:
- Benzer yazı yok