Upload and resize or compress image with PHP before storing on server
Автор: ThirteeNov
Загружено: 2020-08-11
Просмотров: 2757
Описание:
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 and images. So before we store their image in our server, we compress them to an appropriate size.
Get the source code from my blog page: https://thirteenov.ciihuy.com/upload-...
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: