Query: radius_get_tagged_attr_tag
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RADIUS_GET_TAGGED_ATTR_TAG(3) 1 RADIUS_GET_TAGGED_ATTR_TAG(3) radius_get_tagged_attr_tag - Extracts the tag from a tagged attributeSYNOPSISinteger radius_get_tagged_attr_tag (string $data)DESCRIPTIONIf a tagged attribute has been returned from radius_get_attr(3), radius_get_tagged_attr_data(3) will return the tag from the attribute.PARAMETERSo $data - The tagged attribute to be decoded.RETURN VALUESReturns the tag from the tagged attribute or FALSE on failure.EXAMPLESExample #1 radius_get_tagged_attr_tag(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_data(3). PHP Documentation Group RADIUS_GET_TAGGED_ATTR_TAG(3)
Related Man Pages |
---|
tag(3tcl) - debian |
tag(3tcl) - opensolaris |
radius_put_int(3) - php |
radius_put_string(3) - php |
radius_put_vendor_attr(3) - php |
Similar Topics in the Unix Linux Community |
---|
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 |
Extracting data between two tag pairs |