Create Upload Forms

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Create Upload Forms

Post 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?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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.
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Post by amir »

Can you give me just a starter, an idea how to do it?
TIA!
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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()
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Post by amir »

Thanks Buddy!
Cheers. :D
Post Reply