Forum und email
radius_put_string

radius_put_string

(PECL)

radius_put_string -- Attaches a string attribute

Opis

bool radius_put_string ( resource radius_handle, int type, string value )

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.

Przykłady

Przykład 1. radius_put_string() example

<?php
if (!radius_put_string($res, RADIUS_USER_NAME, 'billy')) {
    echo
'RadiusError:' . radius_strerror($res). "\n<br />";
    exit;
}
?>