Quote:
Originally Posted by ???`S?LV?R???`
asksd.mp3
|
OK, there is a bug in my code, but there are two ways round this.
1) Simply put either a forward slash in front of asksd.mp3, i.e /asksd.mp3, or use a full URL, i.e.
http://yoursite/asksd.mp3
2) VB comes pre-configured to handle downloads of bmp, doc, gif, jpg, pdf, png, psd, txt and zip. To handle mp3, you have to go into your VBulletin AdminCP, and set up the proper mimetype for MP3 files. This is done under "Attachments". I'd have to check the right mimetype.
Your easiest option is probably (1) - can you try it and see. Can you also upload the attached file, tryit.php, onto your server, run it and let me know what it prints.