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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to