Please answer this simple SPAM challenge: min(six, one)?
(Example: nine)

The Note You're Voting On

sergio dot carvalho at gmail dot com
2 years ago
The only effective way I've found to wipe out the PHP_AUTH_DIGEST or PHP_AUTH_USER AND PHP_AUTH_PW credentials is to call the header HTTP/1.1 401 Unauthorized.

function clear_admin_access(){
    header('HTTP/1.1 401 Unauthorized');
    die('Admin access turned off');

<< Back to user notes page

To Top