On Fri, Feb 1, 2013 at 11:27 PM, tamouse mailing lists
wrote:
> On Fri, Feb 1, 2013 at 10:40 PM, Ron Piggott
> wrote:
>> In the following the “2.” means a moderator response and “25” is the account
>> # of the moderator.
>>
>> >
>> $author = 2.00025
>>
>> ?>
>>
>> How can I g
On Fri, Feb 1, 2013 at 11:40 PM, Ron Piggott wrote:
> How can I get the 25 by itself?
> - I want to drop the “2.” and remove all the zero’s
>
> Would it be best to turn this into a STRING?
>
I would recommend turning it into a string, splitting the string at the
decimal, then scanning the second
On Fri, Feb 1, 2013 at 10:40 PM, Ron Piggott
wrote:
> In the following the “2.” means a moderator response and “25” is the account
> # of the moderator.
>
>
> $author = 2.00025
>
> ?>
>
> How can I get the 25 by itself?
> - I want to drop the “2.” and remove all the zero’s
>
In the following the “2.” means a moderator response and “25” is the account #
of the moderator.
How can I get the 25 by itself?
- I want to drop the “2.” and remove all the zero’s
Would it be best to turn this into a STRING?
Any suggestions?
Ron Piggott
www.TheVerseOfTheDay.info
Original message
From: Sean Greenslade
Date:
To: Bulent Malik
Cc: php-general@lists.php.net
Subject: RE: [PHP] how to calculate how much data does each ip address use ?
On Feb 1, 2013 10:25 AM, "Bulent Malik" wrote:
>
>
>
> >This task is not really suited for php. I w
On Feb 1, 2013 10:25 AM, "Bulent Malik" 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 th
>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 addr
Thank you for everyone's input. Someone suggested the MySQL list, so I
posted my question there and got the answer I needed.
Regards,
Angela
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This task is not really suited for php. I would suggest looking into Ntop.
It does exactly what you described.
On Feb 1, 2013 9:40 AM, "Bulent Malik" wrote:
> Hello
>
> I have a freebsdbox firewall . also I have some internet customers. I
> want
> to save how much data they used in a table ( su
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 (htt
10 matches
Mail list logo