Why don't you call your converter then pipe out to a file... the then
send headers for that type
of file and readfile to the browser..


Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]

HITCHO has Spoken!






-----Original Message-----
From: Thomas Nilsen [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, 12 October 2002 4:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Converting audio files and display/play in browser


Anyone got any ideas as to how I can solve the following in PHP?

I want to be able to select a file, and convert it from sox format to
MP3 or WAV, and then play it in the requestors browser? Can this be
achieved in an easy way?

The problem I have is to be able to call  up lame/sox or similar tools
on the linux web server, and once the newly converted file is available,
throw it at the requesting browser as a file download?

Regards, Thomas



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to