This chapter took you on a broad tour of how file uploads work, how they are programmed from within PHP, and how to take those uploaded files and put them in their eventual resting place. We even saw a useful example of how we might take smaller uploaded files and place the binary data in your databases. The chapter closed with an important discussion of the security implications of files and file uploading, which can never be overlooked.
The next chapter examines another important area we will make frequent use of in PHP and our databases: manipulating and displaying dates and times. There are a number of different ways that the various operating systems, databases, and even PHP represent and work with dates, which can make our lives confusing. Add to that the need to be able to represent dates in a variety of locales and user formats, and what seems like an entirely trivial topic is suddenly not so clear.