Files sent through forms

The "file" HTML element is as complicated as file uploading gets from a forms perspective - the most complicated part is handling a file once it is uploaded, verifying it is the right type and size, etc. As such, this information is covered in full depth later.


Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Validating input >>

Previous chapter: Splitting forms across pages

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.