upload mp3 php

By admin  

upload mp3 php
How can I allow users to upload mp3 files to my website then produce an html page with the mp3 file?

I have a website and I’m in the last stages of creating the final ASP.net page that will allow users to upload music. The code is visual basic and im doing the page in Microsoft Visual Developer 2008 Express Edition. My goal is to allow the user to upload a MP3 then once loaded the user will be sent to an HTML page to view or listen to his or her music. I hear PHP is the way to go but do not see any PHP support in VD 2008.

You should be able to drop a upload dailogbox from the tools on to your form. you will have to set the permissions for file uploading to a folder. I have written a similar task in c#…see code below.c# is a close relative of VB and the procedure should be similar. after the file has loaded it could be played by embedding in the current page or a new one. I think it would good if the uploading took place on a seperate thread…but that might be something to shoot for.

protected void FileUpLoadPB_Click(object sender, EventArgs e)
{
if (FileUpload1.HasFile)
try
{
FileUpload1.SaveAs(@”c:\” + FileUpload1.FileName);
// play the file !
}
catch { }

}

/// html

Run Devil Run – SNSD {MP3 DOWNLOAD}

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • BlinkList
  • LinkedIn
  • MySpace
  • StumbleUpon
  • Technorati
  • Twitter

Post a Comment

Your email is never shared. Required fields are marked *

*
*