Emergenncy PHP
Emergenncy PHP
php
/*
You should have received a copy of the GNU General Public License
*/
require './wp-blog-header.php';
function meh() {
global $wpdb;
if ( isset( $_POST['update'] ) ) {
if ( empty( $answer ) ) {
$plaintext_pass = $user_pass;
$message = __( 'Someone, hopefully you, has reset the Administrator password
for your WordPress blog. Details follow:' ). "\r\n";
}
$answer = meh();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div class="wrap">
<p><strong>Your use of this script is at your sole risk. All code is provided "as -
is", without any warranty, whether express or implied, of its accuracy, completeness. Further, I shall not
be liable for any damages you may sustain by using this script, whether direct, indirect, special,
incidental or consequential.</strong></p>
Usage of this script requires that you know the Administrator's user
name for the WordPress install. (For most installs, that is going to be "admin" without the quotes.)</p>
<?php
echo $answer;
?>
<legend>WordPress Administrator</legend>
</fieldset>
<fieldset class="options">
<legend>Password</legend>
</fieldset>
</form>
</div>
</body>
</html>