![]() |
|
|
+ Search |
![]()
|
Oct 30th, 2001 01:22
Onno Benschop, Robert Ames, Yoko Y., http://www.php.net/passthru
// must make sure user data is safe $user_data = escape_shell_cmd( $user_data ) ; // set up the command $cmd = "txt_to_speech $user_data" ; // tell browser what kind of content to expect header( "Content-Type: audio/x-wav" ) ; // give the file to the user passthru ($cmd) ;