Posts Tagged ‘upload’
Monday, June 8th, 2009
Here is an example for a simple way of uploading an image and then create a thumbnail image automatically. This PHP script does the following:
- it uploads the image to a temporary location,
- then it copies the uploaded image to a permanent location,
- the script then creates a smaller thumbnail image and saves this to a special thumbnail image location
This PHP script is set up only to allow the upload of JPG formatted images. But with some PHP knowledge you will be able to change this.