aremint
March 14th, 2010, 12:28 AM
i have a problem run following script
<?php
$output=shell_exec(sudo /sbin/iptable <command>).
echo $output;
?>
i already adding "www-data ALL=NOPASSWD: ALL” in my etc/sudoers folder but it still not working. i really appreciate if somebody can help me and give step to solve it.
<?php
$output=shell_exec(sudo /sbin/iptable <command>).
echo $output;
?>
i already adding "www-data ALL=NOPASSWD: ALL” in my etc/sudoers folder but it still not working. i really appreciate if somebody can help me and give step to solve it.