i don't know if it has any relevance,but we had a
similar problem when accessing runtime.getRuntime()(i
dont remember the syntax!) from JAVA ,the problem was
with interactive commands like 'passwd' which requires
a command line input ,well we made everything we
wanted to do into a simple shell script and executed
the script --do wait some Xperts in PHP may turn
around:_
also for immediate results just logon to any
Programming related rooms in Yahoo Messenger

****KNOWLEDGE GROWS BY SHARING***support the cause of 
www.en.wikipedia.org ****or any WIKI projects*****



--- joel fernandes <[EMAIL PROTECTED]> wrote:
> hi !,
> i'm developing a web based firewall on linux a
> platform.i'm using the netfilter module in
> linux.also im using php as the scripting language.my
> problem is that im not able to run iptables command
> through php using shell_exec() or bactick
> operator.simple commands such as ls ,ifconfig work
> but not iptables.
> can anyone help to get over my problem.
> is that ineed to run my apache server to run as root
> ,if yes how do i do it.
> is there any other way to get around this problem.
>  your help will be appreciated.
> thanx.
> 
> Yahoo! India Matrimony: Find your life
partneronline.>
_______________________________________________
> Mailinglist mailing list
> [email protected]
>
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> 

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

Reply via email to