Resize Image While Uploading with PHP

Resize image

For this purpose you need to do some optimization with image files. Image resize while uploading is one of them. All major website do it in the same way. If a user uploads a 5mb image file they resize it in different sizes and store on there server. It helps them to seed up there website and reduce there budget. Now take a look, how we can do it ourself. PHP and HTML(index.php) This file holds the basic of file uploading html markup and simple php upload handler


Read More

Multiple File Upload with PHP

Multiple file upload

HTML Markup We need to add a simple html form with input type file and submit property. We also need to give file input type file name with box breaks like files[] and need to add a property named multiple. Here accept is an optional property that used to allow users to upload only image files.

PHP Script This php code handles uploaded files and save to the server.

Read More