Re: [PHP] Execute a shell command using thttpd-php

2006-03-15 Thread James E Hicks III
Nelson Carreira wrote: James E Hicks III wrote: Nelson Carreira wrote: Yes, I've tried using both absolute and relative paths. The system output is 0 when I execute, for example, "nvram show" from the php. From what I know this output means success. Although there's no output on php. Ne

Re: [PHP] Execute a shell command using thttpd-php

2006-03-14 Thread Chris
Nelson Carreira wrote: Hello, I'm quite new to PHP language and although I got into it pretty fast I'm having some trouble executing system commands using php. I'm using thttpd-php_2.21b-2_mipsel in a Linksys router and I can only execute system commands like "ls" and "cd" from the PHP. I tri

[PHP] Execute a shell command using thttpd-php

2006-03-14 Thread Nelson Carreira
Hello, I'm quite new to PHP language and although I got into it pretty fast I'm having some trouble executing system commands using php. I'm using thttpd-php_2.21b-2_mipsel in a Linksys router and I can only execute system commands like "ls" and "cd" from the PHP. I tried using the different