note 22737 rejected from function.exec by sp

From: Date: Sat, 16 Aug 2003 14:26:02 +0000
Subject: note 22737 rejected from function.exec by sp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54363@lists.php.net to get a copy of this message
Note Submitter: walidn@yahoo.com ---- I'm using mod_php4 on apache2 installed on freebsd 4.6. function traf_b($id){ $ipfw_ar = "add 100 pass ip from any to 192.168.1.100 via rl1 in "; $lastline = exec("/sbin/ipfw $ipfw_ar",$allout, $return);} I couldnt execute 'ipfw '. but executing 'ls -lo' or 'ps awx' works fine. What might be the problem. P.S i also used shell_exec,backtrick but the result was negative . /safe_mod is off

« previous php.notes (#54363) next »