Cheers Jerlique! it works now:)

Edgars

Jerlique Ban wrote:

Hi,



can't figure out how the attributes are sent to my PHP script,how do hey look in this file. Can someone help on this issue?
I'm sending 2 attributes Exec-Program-Wait='/usr/local/sbin
%C{User-Name} %C{Nas-IP-Address}'


So how they are called now under my PHP file?



You will want to look at $_SERVER[argv] array or another way is to look at the getenv(USER_NAME) function call.

JB


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html






- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to