benaucn Posted June 15, 2021 Posted June 15, 2021 I'm using osCommerce Online Merchant v2.3.3. And I used Velveeta's (thanks mate!) method with some changes to the query to match my v2.3.3 database table: tep_db_query("update administrators set user_password = '" . tep_encrypt_password('myPassword') . "' where id = 1"); I pasted my snippet (above) in my login.php just ABOVE this code: if (tep_session_is_registered('admin')) { $action = 'logoff'; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.