array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.radius-cvt-string.php', 1 => 'radius_cvt_string', ), 'up' => array ( 0 => 'ref.radius.php', 1 => 'Radius İşlevleri', ), 'prev' => array ( 0 => 'function.radius-cvt-int.php', 1 => 'radius_cvt_int', ), 'next' => array ( 0 => 'function.radius-demangle-mppe-key.php', 1 => 'radius_demangle_mppe_key', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/radius/functions/radius-cvt-string.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL radius >= 1.1.0)
radius_cvt_string — Converts raw data to string
data
Input data
Returns the string, retrieved from data.
Örnek 1 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 = $resa['data'];
switch ($attr) {
case RADIUS_FILTER_ID:
$id = radius_cvt_string($data);
echo "Filter ID: $id<br>\n";
break;
}
}
?>