Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

radius_get_tagged_attr_tag(3) [php man page]

RADIUS_GET_TAGGED_ATTR_TAG(3)						 1					     RADIUS_GET_TAGGED_ATTR_TAG(3)

radius_get_tagged_attr_tag - Extracts the tag from a tagged attribute

SYNOPSIS
integer radius_get_tagged_attr_tag (string $data) DESCRIPTION
If a tagged attribute has been returned from radius_get_attr(3), radius_get_tagged_attr_data(3) will return the tag from the attribute. PARAMETERS
o $data - The tagged attribute to be decoded. RETURN VALUES
Returns the tag from the tagged attribute or FALSE on failure. EXAMPLES
Example #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 ALSO
radius_get_attr(3), radius_get_tagged_attr_data(3). PHP Documentation Group RADIUS_GET_TAGGED_ATTR_TAG(3)

Check Out this Related Man Page

RADIUS_GET_TAGGED_ATTR_DATA(3)						 1					    RADIUS_GET_TAGGED_ATTR_DATA(3)

radius_get_tagged_attr_data - Extracts the data from a tagged attribute

SYNOPSIS
string radius_get_tagged_attr_data (string $data) DESCRIPTION
If a tagged attribute has been returned from radius_get_attr(3), radius_get_tagged_attr_data(3) will return the data from the attribute. PARAMETERS
o $data - The tagged attribute to be decoded. RETURN VALUES
Returns the data from the tagged attribute or FALSE on failure. EXAMPLES
Example #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 ALSO
radius_get_attr(3), radius_get_tagged_attr_tag(3). PHP Documentation Group RADIUS_GET_TAGGED_ATTR_DATA(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help on finding a number

Hello, Here is my question. I have a file which contains the html values. I have to find the decimal number from it. It is tagged around >68.74<. Please help me on it.. alt='' ><\/td>\n\t\t<td align=\"right\" class='data_table_text data_table_conv_averages_text' \ style='padding-right:... (1 Reply)
Discussion started by: sathyaonnuix
1 Replies

2. UNIX for Dummies Questions & Answers

How to use xml_grep to get the value of an attribute?

I'm using xml_grep command to get the value of different tags in a xml-file. No i also need the value of an attribute in a tag. Can I use xml_grep for this? Does anybody know how? ex. : <Name xmlns:xsi="http://www.w3.org/2001/XMLinst" xsi:spaceSchema="Name_5879.xsd"> ... </Name> I... (1 Reply)
Discussion started by: pistach
1 Replies

3. Shell Programming and Scripting

Contextual search and replace in a tagged file

Dear all, I have a large tagged training file in Hindi for Parts of Speech. When I tagged the file, I inadvertently classified Pronouns and Adjectives as one single category. This has resulted in ambiguity. An example from English will make this clear. This is his. This is his book. The... (2 Replies)
Discussion started by: gimley
2 Replies

4. Shell Programming and Scripting

Extracting data between two tag pairs

In a huge log file (43MB, 43k lines) I am trying to extract data between two tag pairs on same line and export it to a file so I can pull it into Excel for a report. One Pair is <Text>data I need</Text> Other pair follows on same line and is <TimeStamp>more data I need</TimeStamp> I would need... (2 Replies)
Discussion started by: NanookArctic
2 Replies