php man page for radius_create_request

Query: radius_create_request

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
stream_set_timeout(3) - php
radius_get_tagged_attr_data(3) - php
radius_put_int(3) - php
radius_put_string(3) - php
radius_put_vendor_int(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Denial Of Service Attack Update