Deployment Guide

Table Of Contents
// comprising an external captive portal.
// A utility that translates error codes to error messages.
function code_2_message($code, $content_type)
{
$errMsgList = array (
0 =>
array (
'label' => 'Invalid',
'content' => '<span style=\'color:red\'>Empty id /
password not allowed. Please try again.</span>'
),
1 =>
array (
'label' => 'Success',
'content' => 'Success',
),
2 =>
array (
'label' => 'Access Fail',
'content' => '<span style=\'color:red\'>Userid or
password incorrect. Please try again.</span>',
),
3 =>
array (
'label' => 'Fail',
'content' => '<span style=\'color:red\'>A problem has
occurred while trying to validate your userid & password.<br>Please contact
your system administrator.</span>',
),
4 =>
array (
'label' => 'Timeout',
'content' => '<span style=\'color:red\'>A problem has
occurred while trying to validate your userid & password.<br>Please contact
your system administrator.</span>',
),
5 =>
array (
'label' => 'RADIUS shared security key fail',
'content' => '<span style=\'color:red\'>A problem has
occurred while trying to validate your userid & password.<br>Please contact
your system administrator.</span>',
),
6 =>
array (
'label' => 'RADIUS internal error',
'content' => '<span style=\'color:red\'>A problem has
occurred while trying to validate your userid & password.<br>Please contact
your system administrator.</span>',
),
7 =>
array (
'label' => 'Max RADIUS login fail',
'content' => '<span style=\'color:red\'>Too many users
trying to login at the same time.Please try again later.</span>',
),
8 =>
array (
'label' => 'Invalid Login parameters',
'content' => '<span style=\'color:red\'>Userid or
password incorrect. Please try again.</span>',
),
9 =>
array (
common_utilities.php
PHP External Captive Portal, Controller’s Firewall
Friendly API
204 Extreme Campus Controller Deployment Guide for version 5.46.03