Upload and resize image with PHP before storing in upload folder

We can not allow users to upload any files and any images to our server, we need to make rule, for example we don’t allow them to upload an image bigger than 1mb/2mb or image that its width is more than 512px. Here with this script we can prevent users to upload excessive big files … Continue reading Upload and resize image with PHP before storing in upload folder