Jump to content

Recommended Posts

Hey,

 

I've tried locating numerous tutorials for uploading files but they are all mainly for images. I don’t suppose somebody could please point us in the right direction as i cant seem to upload the tracks to my server.

 

I change the settings to 777 and create the mime for audio/x-wav and audio/mpeg but for some reason its still not allowing me to upload the files...

 

Any help would be much appreciated.

 

Thanks, James

Link to comment
https://forums.phpfreaks.com/topic/2500-upload-mp3-wav-files/
Share on other sites

Is your server your own or hosted?

 

Try a clip under 2MB in size as most default PHP settings and hosts only allow for 2MB uploads at a time to help server performance.

 

Most MP3's are over 2MB

Josh

295775[/snapback]

 

Yea i had a query about that, they said they dont mind making the limit higher, but then i thought it maybe htaccess because not all servers allow audio/x-wav or such file extention. Ill have a word with them again later. Also i dont suppose you know how to include htaccess files to a page. Do you just use:

 

include 'file.htaccess';

 

Thanks, James

Link to comment
https://forums.phpfreaks.com/topic/2500-upload-mp3-wav-files/#findComment-8358
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.