[PHP] Re: exec() and passthru()

2003-06-19 Thread Mignon Hunter
Thanks everybody system() worked in this case, but safe mode off, had to switch machines but at least i got something. The below produced my output: system('/var/www/html/vertex/a.out'); - not is more easy use system ? $output = system('/path/to/a.ou

Re: [PHP] Re: exec() and passthru()

2003-06-19 Thread Jason Wong
On Friday 20 June 2003 02:55, Mignon Hunter wrote: > Still no out put here's my script test.php: > $output = shell_exec("/var/www/htdocs/vertex_test/a.out"); > echo $output; > > > tried "" and ''. Both test.php and a.out are in same directory and both > have 777 perms. OK, it *ought* to work. P

[PHP] Re: exec() and passthru()

2003-06-19 Thread Mignon Hunter
Still no out put here's my script test.php: $output = shell_exec("/var/www/htdocs/vertex_test/a.out"); echo $output; tried "" and ''. Both test.php and a.out are in same directory and both have 777 perms. also tried $output = shell_exec("./a.out");