# \[PHP\] Image Dimensions

**URL:** <https://forum.kirupa.com/t/php-image-dimensions/191145>\
**Category:** programming\
**Created:** [June 17, 2006, 8:20pm UTC](https://forum.kirupa.com/t/php-image-dimensions/191145 "2006-06-17T20:20:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [June 17, 2006, 8:20pm UTC](https://forum.kirupa.com/t/php-image-dimensions/191145/1 "2006-06-17T20:20:02Z")

</div>

How do you check the width and height of an uploaded image with $\_FILE?

Also, is there a “file exists” function in PHP? After the user has already uploaded an image, I would like to check on a different page whether the image still resides in the designated folder.
