📜  获取图像大小 php 代码示例

📅  最后修改于: 2022-03-11 14:53:46.235000             🧑  作者: Mango

代码示例1
$image_size = $_FILES["inputfilename"]["size"];
/*Not From Form*/
$img_size = getimagesize("imagepath"); // returns an array that is filled with info
print_r($img_size);