Download Ecommerce Templates User Manual
Transcript
I've forgotten / lost my admin password - how can I retrieve it? If you have phpMyAdmin or something like that installed you can check in the admin table. If you don't have that, or don't know how to use it, try creating a new file called t.php and add the following to it <HTML> <BODY> <?php include "vsadmin/db_conn_open.php"; $sSQL = "SELECT adminUser,adminPassword FROM admin WHERE adminID=1"; $result = mysql_query($sSQL) or print(mysql_error()); $rs = mysql_fetch_assoc($result); print "The username is : " . $rs["adminUser" ] . "<BR>"; print "The password is : " . $rs["adminPassword" ]; mysql_free_result($result); ?> </BODY> </HTML> Then, upload this to your web, and put it in the root directory of the store, then open in your browser. The most important thing to do is to remember to delete the file from your web after using it, as otherwise anyone can get your password. 218 © Ecommerce Templates