Re: [PHP] Image size, (not weight) help

2003-03-29 Thread Haseeb Iqbal
here is something for you from php manual The getimagesize() function will determine the size of any GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP or IFF image file and return the dimensions along with the file type and a height/width text string to be used inside a normal HTML IMG tag. Returns an arra

[PHP] Image size, (not weight) help

2003-03-29 Thread Webmaster MBT
Hi: I would like to know if there is a way to know the size foan image when uploading it from a form page on PHP. I know the weight can be measured with $file_size but what Im looking for is to be able to validate if an image is more than 220pixels width or of height. Thanks in advance EJB --