show error at the time of image uploading.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dheeraj
Forum Commoner
Posts: 40
Joined: Fri Feb 06, 2009 11:54 am

show error at the time of image uploading.

Post by dheeraj »

hello guys, i m uploading a image, but the one thing making me to cry is tht, HOW TO CHECK THE HEIGHT & WIDTH OF IMAGE BEFORE UPLOADING...

Actually i want to show the error or make a validation to the uploading script so tht any user will nt be able to upload big image, he can only upload image of 150 x 120 or less.....

Any help will be appreciated

Thanx in advance
Dheeraj
Post Reply