system() and system_exec() failing on CGI for certain commands
- Posted by Louis Bryant <l_bryant2004 at yahoo.com> Dec 10, 2006
- 600 views
Hi. I have a program that converts mp3 audio to wave files. I am trying to invoke it from a CGI program. The file is on my PATH variable, and the program is called abcaudio.exe. When I do system_exec("abcaudio input_file.mp3 output_file.wav", 2), nothing happens, but system_exec returns -1. When I enter the same commands when not in a CGI script everything works well. What's happening and how can I fix this? Thanks to all of you who have and are helping us out here! I greatly appreciate it!