radius_get_attr

(PECL radius >= 1.1.0) Extracts an attribute mixed radius_get_attr ( resource $radius_handle ) Like Radius requests, each response may contain zero or more attributes. After a response has been received successfully by radius_send_request(), its attributes can be extracted one by one using radius_get_attr(). Each time radius_get_attr() is called, it gets the next attribute from the current response.

radius_get_tagged_attr_data

(PECL radius >= 1.3.0) Extracts the data from a tagged attribute string radius_get_tagged_attr_data ( string $data ) If a tagged attribute has been returned from radius_get_attr(), radius_get_tagged_attr_data() will return the data from the attribute. Parameters: data The tagged attribute to be decoded. Returns: Returns the data from the tagge

radius_get_tagged_attr_tag

(PECL radius >= 1.3.0) Extracts the tag from a tagged attribute integer radius_get_tagged_attr_tag ( string $data ) If a tagged attribute has been returned from radius_get_attr(), radius_get_tagged_attr_data() will return the tag from the attribute. Parameters: data The tagged attribute to be decoded. Returns: Returns the tag from the tagged a

radius_get_vendor_attr

(PECL radius >= 1.1.0) Extracts a vendor specific attribute array radius_get_vendor_attr ( string $data ) If radius_get_attr() returns RADIUS_VENDOR_SPECIFIC, radius_get_vendor_attr() may be called to determine the vendor. Returns: Returns an associative array containing the attribute-type, vendor and the data, or FALSE on error. Examples:

radius_put_addr

(PECL radius >= 1.1.0) Attaches an IP address attribute bool radius_put_addr ( resource $radius_handle, int $type, string $addr [, int $options = 0 [, int $tag ]] ) Attaches an IP address attribute to the current RADIUS request. Note: A request must be created via radius_create_request() before this function can be called. Parameters: radius_handle The RADIUS resour

radius_put_attr

(PECL radius >= 1.1.0) Attaches a binary attribute bool radius_put_attr ( resource $radius_handle, int $type, string $value [, int $options = 0 [, int $tag ]] ) Attaches a binary attribute to the current RADIUS request. Note: A request must be created via radius_create_request() before this function can be called. Parameters: radius_handle The RADIUS resource.

radius_put_int

(PECL radius >= 1.1.0) Attaches an integer attribute bool radius_put_int ( resource $radius_handle, int $type, int $value [, int $options = 0 [, int $tag ]] ) Attaches an integer attribute to the current RADIUS request. Note: A request must be created via radius_create_request() before this function can be called. Parameters: radius_handle The RADIUS resource.

radius_put_string

(PECL radius >= 1.1.0) Attaches a string attribute bool radius_put_string ( resource $radius_handle, int $type, string $value [, int $options = 0 [, int $tag ]] ) Attaches a string attribute to the current RADIUS request. In general, radius_put_attr() is a more useful function for attaching string attributes, as it is binary safe. Note: A request must be created via radius_create_request() before this function can be

radius_put_vendor_addr

(PECL radius >= 1.1.0) Attaches a vendor specific IP address attribute bool radius_put_vendor_addr ( resource $radius_handle, int $vendor, int $type, string $addr ) Attaches an IP address vendor specific attribute to the current RADIUS request. Note: A request must be created via radius_create_request() before this function can be called. Parameters: radius_handle Th

radius_put_vendor_attr

(PECL radius >= 1.1.0) Attaches a vendor specific binary attribute bool radius_put_vendor_attr ( resource $radius_handle, int $vendor, int $type, string $value [, int $options = 0 [, int $tag ]] ) Attaches a vendor specific binary attribute to the current RADIUS request. Note: A request must be created via radius_create_request() before this function can be called. Parameters: