getimagesize

Sample:

getimagesize($_FILES[“file”][“tmp_name”])

(
[0] => 110
[1] => 150
[2] => 2
[3] => width=”110″ height=”150″
[bits] => 8
[channels] => 3
[mime] => image/jpeg
)


评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注