< ?php
$arr=getimagesize("1.jpg");
echo $arr[0]."< br/ >"; //the width
echo $arr[1]; //the heigth
? >
具体可以参见getimagesize这个PHP函数的用法。
< ?php
$arr=getimagesize("1.jpg");
echo $arr[0]."< br/ >"; //the width
echo $arr[1]; //the heigth
? >
具体可以参见getimagesize这个PHP函数的用法。