Query: radius_get_tagged_attr_data
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RADIUS_GET_TAGGED_ATTR_DATA(3) 1 RADIUS_GET_TAGGED_ATTR_DATA(3) radius_get_tagged_attr_data - Extracts the data from a tagged attributeSYNOPSISstring radius_get_tagged_attr_data (string $data)DESCRIPTIONIf a tagged attribute has been returned from radius_get_attr(3), radius_get_tagged_attr_data(3) will return the data from the attribute.PARAMETERSo $data - The tagged attribute to be decoded.RETURN VALUESReturns the data from the tagged attribute or FALSE on failure.EXAMPLESExample #1 radius_get_tagged_attr_data(3) example <?php while ($resa = radius_get_attr($res)) { if (!is_array($resa)) { printf ("Error getting attribute: %s ", radius_strerror($res)); exit; } $attr = $resa['attr']; $data = $resa['data']; $tag = radius_get_tagged_attr_tag($data); $value = radius_get_tagged_attr_data($data); printf("Got tagged attribute with tag %d and value %s ", $tag, $value); } ?>SEE ALSOradius_get_attr(3), radius_get_tagged_attr_tag(3). PHP Documentation Group RADIUS_GET_TAGGED_ATTR_DATA(3)
| Related Man Pages |
|---|
| tag(3tcl) - centos |
| ldap_compare(3) - php |
| radius_put_string(3) - php |
| radius_put_vendor_int(3) - php |
| radius_put_vendor_string(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| regarding about printing line number |
| Help on finding a number |
| How to use xml_grep to get the value of an attribute? |
| Contextual search and replace in a tagged file |