Most people
know that the Web’s HTTP protocol is primarily involved in the transfer of web pages from a server to the user’s browser. However, it’s actually possible to transfer of any kind of file via HTTP, including images, Microsoft Office documents, PDFs, executables, MPEGs, ZIP files, and a wide range of other file types. Although FTP historically has been the standard means for uploading files to a server, file transfers are becoming increasingly prevalent via a web-based interface. In this chapter, you’ll learn all about PHP’s file upload handling capabilities, including ...