Hello Javier -
Have a look at the example hooks in "goodies/hooks.txt" to see how to do this.
regards
Hugh
On Fri, 29 Sep 2000, Javier Chicharro wrote:
> I want to use a defined variable updated from a hook in
> AcctSQLStatement. For example :
>
> AcctSQLStatment INSERT INTO table VALUES ('%{GlobalVar:varname}')
>
> I've tested with a $p->setVariable('varname', 'value'); in a
> PreHook but it doesn't change the value.
>
>
> Is it possible to do that?
>
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.