PHP Classes

File: radius.demo.www.authenticate.php

Recommend this page to a friend!
  Classes of André Liechti   Pure PHP radius class   radius.demo.www.authenticate.php   Download  
File: radius.demo.www.authenticate.php
Role: Example script
Content type: text/plain
Description: Demo of a WWW Authentication using a Radius server
Class: Pure PHP radius class
Authenticate users with a RADIUS server
Author: By
Last change:
Date: 16 years ago
Size: 384 bytes


Class file image Download

= "Pure PHP radius class";
$custom_auth_timeout = 15*60; // Custom authentification timeout without activity (default is 900 seconds)
$custom_ip_radius_server = '';
$custom_shared_secret = 'secret';


"User <strong>".$_SERVER['PHP_AUTH_USER']."</strong> authenticated.";