Cepstral with IIS and PHP 5
Posted: 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
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