Image upload & Validation: My first class to phpclasses.org

3 thoughts on “Image upload & Validation: My first class to phpclasses.org”

  1. Awesome script easy and clean,
    But im having trouble with the $max_size,
    I´m setting my value to 50 wich should be 512kb, right ?
    No been able to upload PNG image that is 18kb
    Any suggestions ?

  2. Hi, first thanks for nice upload with validation.
    I think is there one mistake in the class.imageupload.php file.
    About line 158, now is the “height” parameter, should be “width”.
    However, thanks for your code,
    greetings.

Leave a Reply