Hi
I use php5.3 on freebsd
I also use pf ( packet filter) on it.
I need to execute pfctl in php script. But I couldn't execute . I don't get
any errors about that.
Shell commands is allowed in php.ini My
My script is below,
shell_exec('pfctl -s nat');
exec('pfctl -s nat');
If I
did you try it in shell? or just You tried it in PHP?
Yeah, I tried it on shell and it works on it. Also if I execute it as
command line, it works ;
php test.php
But when I try it on www ( internet explorer, firefox, chrome ..) it
doesn't work.
Hello
I have a freebsdbox firewall . also I have some internet customers. I want
to save how much data they used in a table ( such as mysql table ) for each
ip address.
Apache2, php5 and mysql5.5 work on the box.
How can I do it ? any script or tool.
Thanks
--
PHP General Mailing List
This task is not really suited for php. I would suggest looking into Ntop.
It does exactly what you described.
Hello
I have a freebsdbox firewall . also I have some internet customers.
I want to save how much data they used in a table ( such as mysql
table ) for each ip address.
This task is not really suited for php. I would suggest looking into
Ntop.
It does exactly what you described.
Hello
I have a freebsdbox firewall . also I have some internet customers.
I want to save how much data they used in a table ( such as mysql
table ) for each ip address.
5 matches
Mail list logo