sql counter Re:

Alan DeKok aland at deployingradius.com
Fri Dec 7 13:03:20 CET 2012


Jed Gainer wrote:
> /etc/raddb/sql/mysql/counter.conf
> 
> there is
> 
> %b      unix time value of beginning of reset period
...
> how would i get the value of %b for a user from say PHP so i can calc
> and show them how much bandwidth they have left?

  Query the database.  The schema is available.

  Alan DeKok.


More information about the Freeradius-Users mailing list