How to use mysql/php password() function to fix broken tutorial script.?

alex c

New member
I'm trying to play around with a mysql/php shopping cart tutorial/script, and I downloaded the source files. In the readme its saying the login to the user interface is 'admin' without the quotes, same password. They're encrypted using the password() function. The .sql file provided has the username and password already encrypted in the database, so I want to make a script to let me enter a password of my choice, encrypt it using the password() function and then print the encrypted password in the browser so I can manually change the password in phpmyadmin for the database. Can anyone point me in the right direction?
 
Back
Top