Phalcon file upload issue

Hi everyone,

i have add the file type in views,but i cannot request the data for controller,pls kindly guide how to handle the file data in controller.

below is views code:

<form method="post" action="/frontend/registeruser" enctype="multipart/from-data"> <table cellpadding="0" cellspacing="0" border="1" width="700" height="250"> <tr align="center"> <td>账号<span style="color: red"></span></td> <td><input type="text" name="uname"></td> </tr> <tr align="center"> <td>密码<span style="color: red"></span></td> <td><input type="password" name="upassword"></td> </tr> <tr align="center"> <td>头像</td> <td><input type="file" name="header_pic"></td> </tr> </form>

Why you don't use phalcon forms ?