We currently do this:

$user->get_reply->add_attr('Framed-IP-Address', '255.255.255.254');

In our authentication module after checking if a user is out of time (they 
get a pooled ip address if out of time).

We also use the old "users" file to do static ip address assigning for 
permanent accounts.

Is it possible to test for an attributes presence before adding it?

Something Like:

if !$user->get_reply->is_attr('Framed-IP-Address') {
     $user->get_reply->add_attr('Framed-IP-Address', '255.255.255.254');
}

TIA
Simon Lindsay                                      [EMAIL PROTECTED]
Technical Manager                                       Icq. 1485568
The Internet Company Pty. Ltd.         http://www.iweb.net.au/~simon
InterWeb Connections and Portal.net               Ph. (08) 8221 5444
------- Speed with Service --------               Fx. (08) 8221 5450


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to