Welcome Guest, Not a member yet? Register   Sign In
Check to see if there is a file to upload
#3

[eluser]jake142[/eluser]
Hi,

It doesn't work for me. $_FILES['userfile']['name'] is always '0' no matter if I have uploaded a file or not.

I use <?php echo form_open_multipart('ads/do_save');?> in my view to post the uploaded file.

<input type="file" id="userfile" name="userfile" size="29" /> is the file upload element.

Any ideas?

Thanks.


Messages In This Thread
Check to see if there is a file to upload - by El Forum - 12-06-2009, 03:31 AM
Check to see if there is a file to upload - by El Forum - 12-06-2009, 06:02 AM
Check to see if there is a file to upload - by El Forum - 12-06-2009, 07:13 AM
Check to see if there is a file to upload - by El Forum - 12-06-2009, 07:28 AM
Check to see if there is a file to upload - by El Forum - 12-06-2009, 07:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB