radius_create_request(3) php man page | unix.com

Man Page: radius_create_request

Operating Environment: php

Section: 3

RADIUS_CREATE_REQUEST(3)						 1						  RADIUS_CREATE_REQUEST(3)

radius_create_request - Create accounting or authentication request

SYNOPSIS
bool radius_create_request (resource $radius_handle, int $type)
DESCRIPTION
A Radius request consists of a code specifying the kind of request, and zero or more attributes which provide additional information. To begin constructing a new request, call radius_create_request(3). Note Attention: You must call this function, before you can put any attribute!
PARAMETERS
o $radius_handle - o $type - Type is RADIUS_ACCESS_REQUEST or RADIUS_ACCOUNTING_REQUEST.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 radius_create_request(3) example <?php if (!radius_create_request($res, RADIUS_ACCESS_REQUEST)) { echo 'RadiusError:' . radius_strerror($res). " <br />"; exit; } ?>
SEE ALSO
radius_send_request(3). PHP Documentation Group RADIUS_CREATE_REQUEST(3)
Related Man Pages
pg_field_table(3) - php
pg_free_result(3) - php
radius_get_tagged_attr_data(3) - php
radius_put_string(3) - php
radius_put_vendor_addr(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!