我正在做图像上传处理程序,我希望它能够检测用户上传的图像的尺寸.
所以我开始:
if (isset($_FILES['image'])) etc....
我有
list($width, $height) = getimagesize(...);
我怎么能一起使用它们?
非常感谢
php upload file
file ×1
php ×1
upload ×1