Cepstral with IIS and PHP 5

How-to questions and answers

Cepstral with IIS and PHP 5

Postby rgorsia » Wed Nov 07, 2007 6:47 am

Hey guys,

Ive got a small problem, well i hope its small.
Im trying to get PHP, using the system function, to execute the following command, but nothing is really going on. No errors are being returned or anything.

$command = "\"c:\\Program Files\\Cepstral\\bin\\swift\" --events \"this is a voice test\"";
echo "Command to execute: " . $command;
$value = system($command, $return_value);
echo '</pre><hr />Last line of the output: ' . $value . '<hr />Return value: ' . $return_value;

Above is the code im using. I can run other commands such as DIR but not sure what is going on here.
Ive assigned the iUSR permissions to the directory where im executing the script from so that the file can save there.
Ive assigned the same permission to the swift.exe file as well, just in case. Again failed.

Can anyone help please?
Anyone else come across this error whilst playing?

Thanks

Raj Gorsia
rgorsia
 
Posts: 1
Joined: Wed Nov 07, 2007 6:43 am

Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 4 guests

cron