Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • phpcoder

    (@phpcoder)

    Had to chmod 15 files onto 777, but other than that it’s greater than WordPress 1.2!

    phpcoder

    (@phpcoder)

    True, yet I’ve password-protected my blog with “WWW-Authenticate: Basic” so that no spammer could get in with any bots, and I’d tell anybody who emailed me to access my blog the password.

    http://www.meteorologistlife.com/

    Anybody who wants to implement the hack, insert this in wp-blog-header.php:


    $your_email="somebody at gmail dot com";
    $blog_pwd="phpself1";
    if(!ereg("/wp-admin/edit.php", $PHP_SELF)) {
    if ($_SERVER['PHP_AUTH_PW'] != $blog_pwd) {
    header('WWW-Authenticate: Basic realm="For security reasons, this blog is password-protected. Please email '.$your_email.' to obtain password. Thank you."');
    header('HTTP/1.0 401 Unauthorized');
    echo '<HTML></HTML>';
    exit;
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)