Click to See Complete Forum and Search --> : Uploading and handling of user MP3s for flash use.


Webjedikungfu
11-03-2006, 07:36 AM
I'm trying to get a flash company some variables they need to continue work for me on a custom flash player for my site.

I just need a script that will allow users to upload MP3 and video to my server file system, then save the name value of the MP3 or video into MySQL

Can I just manipulate the user "Photo upload" script I have a little bit to work for uploading user MP3s to my server?

Or does an MP3/Video upload script need special coding and considerations?

Will this form serve this purpose?

<form action="mp3parse.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="8000000">
Your MP3: <input type="file" name="usermp3"><br />
<input type="submit" name="submit" value="Upload MP3"></form>


Just wanted to ask before I attempt coding it.

Thanks, cheers