how to upload a mp3

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
yyok
Regular
Posts: 7
Joined: Thu May 25, 2006 9:12 pm

how to upload a mp3

Post by yyok »

when i use add media to upload a mp3 file.
It shows a tip:
You are not allowed to upload files with active content

So, how to add a mp3 file.
And how to add this mp3 into my article?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: how to upload a mp3

Post by garvinhicking »

Hi!

What is the name of the file you try to upload? It seems that you are using an invalid extension.

Then you can insert MP3s just like you add images to articles; when writing an article click on the "Media manager" button and choose the file to insert.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yyok
Regular
Posts: 7
Joined: Thu May 25, 2006 9:12 pm

Post by yyok »

The extension of my file is .mp3
Add I found the reason,
my mp3 file's name is Chinese,not english.
when I change the name to english, it will upload successfully.

And, when uploaded, I can't change it's name to Chinese.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, files with special characters cause problems in web environments, so you should only upload filenames with ASCII format. This applies to virtually all PHP/Web applications; filenames with UTF-8 is pretty bad to embed...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply