Skip to content
Everett Griffiths edited this page May 20, 2014 · 2 revisions

File

A file input will force the form to use the post method and the "enctype" to "multipart/form-data" so that the form can be submitted and processed properly.

Syntax: file(string $name, string $default='', array $args=array(), string $tpl=null)

Clone this wiki locally