Re: [PHP] Can't execute external program

2005-11-28 Thread Ahmed Saad
On 11/21/05, Voip tech <[EMAIL PROTECTED]> wrote: > exec("/var/www/html/myprog -E 123456789098.dat sample1.txt > sample1.new"); > ?> use and check $return_val? -ahmed

[PHP] Can't execute external program

2005-11-20 Thread Voip tech
Hello, I cannot get exec(), system() or passthru() to run an extenal program. >From the command line it runs perfectly: [EMAIL PROTECTED] html]# /var/www/html/myprog -E 123456789098.dat sample1.txt sample1.new (no output, it just creates the file .new) Here is the php I've created, fairly simple: