[PHP] passthru problems generating WAVs with mpg123

2002-10-26 Thread soren
I've written a little script for VoiceXML applications to generate a WAV from an MP3 on demand: #file wavwrapper.php ? header('Content-Type: audio/wav'); $filename = $_GET['filename']; $mp3dir=/var/www/mp3s/; $playercmd=/usr/local/bin/mpg123 -m -w - -q -4 --8bit; passthru($playercmd

Re: [PHP] passthru problems generating WAVs with mpg123

2002-10-26 Thread Justin French
I'm SURE you've got a good reason, but why are you wanting to generate a WAV on demand? The loss in file quality occurs going from WAV MP3, so then later going back to WAV would only result in a bigger file size, with ZERO benefit in audio quality. Just asking :) Justin on 26/10/02 4:53 PM,

[PHP] passthru Problems

2001-04-12 Thread Jason Mowat
Greetings, I am having a small problem displaying PDF files to my users via passthru. This is the situation: I have a bunch of PDF files on my server directory. I show the user a listing of the PDF files they can view, and allow them to hyperlink click on the PDF they wish to browse. When the

RE: [PHP] passthru Problems

2001-04-12 Thread Krznaric Michael
PROTECTED]] Sent: Thursday, April 12, 2001 12:46 PM To: [EMAIL PROTECTED] Subject: [PHP] passthru Problems Greetings, I am having a small problem displaying PDF files to my users via passthru. This is the situation: I have a bunch of PDF files on my server directory. I show the user a listing of the

Re: [PHP] passthru Problems

2001-04-12 Thread Jason Mowat
Greets, Just to elaborate: I want my user to be able to click on a hyperlink that points to my PDF file, and have a new window pop up, displaying the contents of the PDF file in the browser window (without prompting if they should save the file) as well as set the HTML TITLE tag to the name of

Re: [PHP] passthru Problems

2001-04-12 Thread Morgan Curley
You need to use a frameset to do what you want. the problem is the browser will only launch the Acrobat control if it receives the content type app/pdf, an html page uses the content type text/html. your links should point to another page that outputs something like the following based on