Server Side Audio Encoding

Hey everyone,

Problem:
I have a client who is uploading .aiff files to a web server and I need to convert these .aiff files to .mp3. I would prefer to do it server side somehow or through flash ( which I don’t think is possible ).

Anyone know of a way with any Server Side Language? ( Perl, PHP, Python, Ruby on Rails, Ruby ).

Thanks!