Hacking with PHP has been updated for PHP 7 - click here! >>

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.


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.