Php error with Dialup Admin and FreeBSD
alan buxey
A.L.M.Buxey at lboro.ac.uk
Fri Jun 1 20:12:59 CEST 2012
Hi,
> <?php
> $auth_user = $HTTP_SERVER_VARS["PHP_AUTH_USER"];
> if ($auth_user){
> if (is_file("../html/buttons/$auth_user/buttons.html.php3"))
> include("../html/buttons/$auth_user/buttons.html.php3");
> else{
> if (is_file("../html/buttons/default/buttons.html.php3"))
> include("../html/buttons/default/buttons.html.php3");
> }
> }
> else{
> if (is_file("../html/buttons/default/buttons.html.php3"))
> include("../html/buttons/default/buttons.html.php3");
> }
> ?>
files are .php3 extensions....see what happens if you tell apache config
that that means they are PHP files (edit the relevant php module config in apache)
alan
More information about the Freeradius-Users
mailing list