Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-06 Thread Sean Greenslade
On Wed, Feb 6, 2013 at 11:15 AM, Aaron Holmes wrote: > No one has mentioned Cacti yet? It does exactly what Bulent is looking for. > > http://cacti.net/ > > > On 2/5/13 6:46 PM, Sean Greenslade wrote: >> >> On Tue, Feb 5, 2013 at 10:13 AM, Bulent Malik >> wrote: >>> >>> > This task is not re

Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-06 Thread Aaron Holmes
No one has mentioned Cacti yet? It does exactly what Bulent is looking for. http://cacti.net/ On 2/5/13 6:46 PM, Sean Greenslade wrote: On Tue, Feb 5, 2013 at 10:13 AM, Bulent Malik wrote: This task is not really suited for php. I would suggest looking into Ntop. It does exactly what you

[PHP] PHP + PostgreSQL: pg_query not returning the expected result for this (edge) case:

2013-02-06 Thread Peter Ford
Here's a tricky one: Versions: I'm using PostgreSQL 9.0.7 and PHP 5.3.8. First, I have a table "bob" with two columns: "bobid" (integer) and "bobtext" (text). The "bobid" field defaults to a sequence called "bob_seq" which is just a simple counter (1,2,3 etc.) I can do an INSERT query into "b