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 requestSYNOPSISbool radius_create_request (resource $radius_handle, int $type)DESCRIPTIONA 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!PARAMETERSo $radius_handle - o $type - Type is RADIUS_ACCESS_REQUEST or RADIUS_ACCOUNTING_REQUEST.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 radius_create_request(3) example <?php if (!radius_create_request($res, RADIUS_ACCESS_REQUEST)) { echo 'RadiusError:' . radius_strerror($res). " <br />"; exit; } ?>SEE ALSOradius_send_request(3). PHP Documentation Group RADIUS_CREATE_REQUEST(3)
Related Man Pages |
---|
stream_set_timeout(3) - php |
radius_put_attr(3) - php |
radius_add_server(3) - php |
radius_put_addr(3) - php |
radius_put_vendor_addr(3) - php |