I saw in PHP scripts where you can upload avatars within a range of dimensions like 100 x 100. If user tries to upload an image with a size bigger than 100 x 100 it gets a message to resize and re-upload.
How it can be achieved in CGI scripts? I have made numerous scripts for uploading, limiting upload size, formats, etc but this problem is encountered first time. Any help? Sara.