the output from the browser is the same and not the expecting version of the
ipkg-cl.
then i tried to echo exec('ifconfig'); the output is the same also.

You need to do this:

$output = array();
exec('/program/....', $output);

for it to put the results of running the command into the $output array.

Then you can print it:

print_r($output);


This is in the manual: http://au.php.net/manual/en/function.exec.php

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to