------------------
file di nome authen.php -->>
<?php
if(!isset($PHP_AUTH_USER))
{ header('WWW-Authenticate: Basic realm="' . TITLE . '"');
header('HTTP/1.0 401 Unauthorized');
echo $SERVER_NAME . ' Authorization Required.';
exit;
}
else
{ if (($PHP_AUTH_USER != ADMIN_USERNAME) || ($PHP_AUTH_PW != ADMIN_PASSWORD))
{ header('WWW-Authenticate: Basic realm="' . TITLE. '"');
header('HTTP/1.0 401 Unauthorized');
echo $SERVER_NAME . ' Authorization Required.';
exit;
}
}
?>
-------------------------------------fine pagina in php.
poi ho inserito /application_top.php alla linea 221
include authentication user/password of administration
require(DIR_WS_INCLUDES . 'authen.php');
-------------------------- fine pagina in php.
poi ho inserito /configure.php alla linea 38
// define admin user/password
define('ADMIN_USERNAME','admin');
define('ADMIN_PASSWORD','password');
-------------------------- fine pagina in php.
visualizzo il box di rete ma quando digito le user e pass non mi accede a l'area amministrativa
prova
Asta Siempre
