kurt.santo Posted April 1, 2008 Share Posted April 1, 2008 Having users upload a photo together with various other details I was wondering how you could restrain the max size of the photo. Is this a thing to achieve with MySql or with PHP? I do not want them to upload massive big files, the image should not really be bigger than 200 by 400.Kurt Link to comment Share on other sites More sharing options...
justsomeguy Posted April 1, 2008 Share Posted April 1, 2008 That's PHP, look into the image functions.http://www.php.net/manual/en/ref.image.phphttp://www.php.net/manual/en/function.imagecopyresampled.php Link to comment Share on other sites More sharing options...
kurt.santo Posted April 2, 2008 Author Share Posted April 2, 2008 That's PHP, look into the image functions.http://www.php.net/manual/en/ref.image.phphttp://www.php.net/manual/en/function.imagecopyresampled.php I will look into those links. Cheers, mate:-)Kurt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.