File upload button (form)

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
vantheman
Forum Newbie
Posts: 6
Joined: Fri Dec 05, 2008 6:12 pm

File upload button (form)

Post by vantheman »

Hello,
Does anyone know how to acheive the following:
I need to make a form with a file upload button that allows you to browse on local drive. The form also needs to be able to transmit the data (radio button selections) to a directory on the site (text file, xml file, I'm not sure).

Summary:
This is a music membership site where artists can upload their own music but will be required* to label the music (clean, dirty, genre, etc.).
Another posibility would be: the script would pull the info from the ID3 tag of the uploaded music file.

This page actually does what I want to do (for the most part). There's an "upload attachment" tab at the bottom that allows me to browse for a file and a text field to leave a comment. Instead of the comment field, I'll need radio buttons. How is this done?


Does anyone have any clue of how to do this or where I should start.

Thank you
Post Reply