1 Jun
2012
1 Jun
'12
2:12 p.m.
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