[eluser]pickupman[/eluser]
[quote author="roymayor" date="1274145498"]so i got ci uploaded and created the uploader using the examples online. i want to be able to have a text box on a page where a person can input their first and last name and it will create a folder with that name and the user can upload his images into that folder. can someone help me create something like that? so like a first and last name text box then a browse button to open the finder dialog box then a submit/upload button. then a success page? help!?[/quote]
That takes all of the fun away from you. How about trying it out first, so you can get a hand at learning the code. Post your code you are stuck on, and go from there.
HINT:
Code:
<?=form_open_multipart('upload/do_upload');?>
<p>
<?=form_label('First Name','first_name');?><br/>
<?=form_input('first_name',set_value('first_name');?>
</p>
<p>
<?=form_label('Last Name','Last_name');?><br/>
<?=form_input('last_name',set_value('last_name');?>
</p>
<p>
<?=form_label('Choose File','userfile');?><br/>
<?=form_upload('userfile');?>
</p>
<p>
<?=form_submit('upload','Upload');?>
</p>
<?=form_close();?>