james.uk Posted September 13, 2005 Share Posted September 13, 2005 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 Quote Link to comment https://forums.phpfreaks.com/topic/2500-upload-mp3-wav-files/ Share on other sites More sharing options...
homchz Posted September 15, 2005 Share Posted September 15, 2005 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 Quote Link to comment https://forums.phpfreaks.com/topic/2500-upload-mp3-wav-files/#findComment-8329 Share on other sites More sharing options...
james.uk Posted September 16, 2005 Author Share Posted September 16, 2005 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 Quote Link to comment https://forums.phpfreaks.com/topic/2500-upload-mp3-wav-files/#findComment-8358 Share on other sites More sharing options...
james.uk Posted September 18, 2005 Author Share Posted September 18, 2005 i've now sorted this problem. thanks anyways . Quote Link to comment https://forums.phpfreaks.com/topic/2500-upload-mp3-wav-files/#findComment-8384 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.