[eluser]phpfresher[/eluser]
I have form with method post and enctype multipart/form-data and the element type file having name user file ok here is the code
<tr>
<td>User Image </td>
<td> <input type="image" name="userfile" /></td>
</tr>
and when i execute the code in the controller output is undefined index userfile here is the code in the controller
die($_FILES['userfile']['name']);
Can you help me ???