In Chapter 3, we used a form to collect data to send on as an email. Forms can be used not only to send text data but also to upload a binary file, such as an image or a PDF file.
In this chapter, we’ll begin the process of maintaining an image library. This will involve setting up a form for data entry and the script which will process the data. The data will include text, as with the contact form, but also a binary file—in this case, an image file.
Processing the text data will be similar to processing the contact ...