RE: [PHP] how to calculate how much data does each ip address use ?
| From: | Sean Greenslade | Date: | Fri, 01 Feb 2013 15:29:52 +0000 |
| Subject: | RE: [PHP] how to calculate how much data does each ip address use ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320140@lists.php.net to get a copy of this message | ||
On Feb 1, 2013 10:25 AM, "Bulent Malik" <bmalik@ihlas.net.tr> wrote:
>
>
>
> >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.
> >>Apache2, php5 and mysql5.5 work on the box.
> >>
> >> How can I do it ? any script or tool.
> >>
> >> Thanks
>
> How can i save in table using ntop ? is there any document ?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Read the man pages. There are sql export options that you can specify on
run.