Welcome Guest, Not a member yet? Register   Sign In
Need Help
#1

[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> &lt;input type="image" name="userfile" /&gt;&lt;/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 ???
#2

[eluser]eoinmcg[/eluser]
try

Code:
&lt;input type="file" name="userfile" /&gt;




Theme © iAndrew 2016 - Forum software by © MyBB