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_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_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_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_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_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_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_demangle

(PECL radius >= 1.2.0) Demangles data string radius_demangle ( resource $radius_handle, string $mangled ) Some data (Passwords, MS-CHAPv1 MPPE-Keys) is mangled for security reasons, and must be demangled before you can use them. Returns: Returns the demangled string, or FALSE on error.

radius_demangle_mppe_key

(PECL radius >= 1.2.0) Derives mppe-keys from mangled data string radius_demangle_mppe_key ( resource $radius_handle, string $mangled ) When using MPPE with MS-CHAPv2, the send- and recv-keys are mangled (see » RFC 2548), however this function is useless, because I don't think that there is or will be a PPTP-MPPE implementation in PHP. Returns: Returns the demangled string, or FALSE on error.

radius_cvt_string

(PECL radius >= 1.1.0) Converts raw data to string string radius_cvt_string ( string $data ) Examples: radius_cvt_string() example <?php while ($resa = radius_get_attr($res)) {     if (!is_array($resa)) {         printf ("Error getting attribute: %s\n",  radius_strerror($res));         exit;     }     $attr = $resa['attr'];     $data