You should have received a copy of the GNU Public License along with this package; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ require("../config/owl.php"); require("../lib/owl.lib.php"); require("../config/html.php"); print("
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("
DO NOT RUN THIS AGAIN


"); print("Running through $default->owl_users_table
"); $sql = new Owl_DB; $sql->query("select * from $default->owl_users_table"); $sqlupd = new Owl_DB; while($sql->next_record()) { $userid = $sql->f("id"); $password = $sql->f("password"); if (strlen($password) <> 32) { $sqlupd->query("update $default->owl_users_table set password='" . md5($password) . "' where id = '$userid'"); print "Updated user id $userid: ".$sql->f("username")."
"; } else { print "ALREADY UPGRADED -> $userid: ".$sql->f("username")."
"; } } print("DONE

"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("********************** WARNING WARNING WARNING ****************************
"); print("
DO NOT RUN THIS AGAIN

");