A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 4: Plug-in 11 - Upload File

A major service offered by many websites is the facility for users to upload files and images. For example you may wish to let your users create avatars or upload photos they have taken. Or perhaps you need to support uploading of Word, Excel or other types of file. Using this plug-in you can enable this feature, while retaining the security of your website.

The Figure shows the result of uploading an image file called test.jpg using it.