rantsh Posted January 28, 2007 Share Posted January 28, 2007 Hello everyone, I'm looking for a way to find out the size (in pixels x pixels) of an uploaded image, and how to verify that the image is an actual image (I don't want to trust the extention of the image).Thanks for any help you can provide me, Quote Link to comment https://forums.phpfreaks.com/topic/36088-uploaded-image-validation/ Share on other sites More sharing options...
.josh Posted January 28, 2007 Share Posted January 28, 2007 look into the gd library Quote Link to comment https://forums.phpfreaks.com/topic/36088-uploaded-image-validation/#findComment-171297 Share on other sites More sharing options...
rantsh Posted January 28, 2007 Author Share Posted January 28, 2007 Actually I just found my solution at [url=http://ca3.php.net/manual/en/function.getimagesize.php]http://ca3.php.net/manual/en/function.getimagesize.php[/url].thanks for the help anyway Quote Link to comment https://forums.phpfreaks.com/topic/36088-uploaded-image-validation/#findComment-171305 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.