Page 1 of 1

Create Upload Forms

Posted: Wed Nov 22, 2006 5:46 pm
by amir
Hi guys,

I need a PHP Page which can basically create a bunch of file upload forms, and handle the uploads of the files. Looking for something like this:


mypage.php?forms=8&submit=false

that will draw 8 upload forms

mypage.php?forms=0&submit=true

that will handle all the submitted files



Anyone able to help me out please?

Posted: Wed Nov 22, 2006 5:47 pm
by Burrito
do you want someone to write this for you? It's sounding very much like that. If so, let me know and I'll move this to Volunteer Work for you.

Posted: Wed Nov 22, 2006 5:58 pm
by amir
Can you give me just a starter, an idea how to do it?
TIA!

Posted: Wed Nov 22, 2006 6:01 pm
by Burrito
search this forum for 'uploading files'.

look at php.net for the $_FILES[] array.

check out move_uploaded_file() and is_uploaded_file()

Posted: Wed Nov 22, 2006 6:18 pm
by amir
Thanks Buddy!
Cheers. :D