Hi, Monday, January 13, 2003, 2:10:57 AM, you wrote: hmgd> How can i get the file information of a uploaded jpeg-file. hmgd> i need the heigt and width in pixel and the resolution. hmgd> Thanks Harry
Use getimagesize() $info = getimagesize('image.jpg'); echo 'Width = '.$info[0].' Hieght = '.$info[1]."<br>'; Resolution is meaningless until you need to print it I think. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php