Recording Sound to the Server

Hello,

I’ve been asked to create a simple application that will record a user’s voice using their microphone and save it to the server as an MP3 file.

I know that flash can accept microphone input, but does anyone know how I might go about writing that sound object to an MP3 file onto the server so that it can be accessed/shared/downloaded by others?

I’ve searched everywhere and I can’t find anything on this. :-/