- gmail.com Usage: 1. Put this file in your plugins directory 2a. Run it from the command line, like so php -f PasswordReset.phps 2b. Alternatively you can rename it PasswordReset.php (remove the s at the end) and access it at http://example.com/rss/plugins/PasswordReset.php (You need to replace example.com with your gregarius server) 3. Delete this file. This is *VERY VERY IMPORTANT* */ define ('RSS_FILE_LOCATION','/plugins'); include('../init.php'); echo "deleting users with level 99\n"; rss_query ("DELETE FROM " . getTable("users") . "where ulevel=99"); if(rss_query ("INSERT INTO " . getTable("users") . " (uname,password,ulevel,realname) VALUES ('admin','',99,'Administrator')", false, true)) { echo "Password reset\n"; } rss_invalidate_cache(); ?>