Need to implement session login using MD5 encrypted passwords for administration of a custom built PHP / mySQL website. The scripts are already uploaded for the session login but they have just been copied over from another website that was built with similar code. The session login scripts are not currently working for this particular website but they work fine on the other website.
A text file with some of the login code has been included for your information. There is currenly no code for the MD5 password encryption.
There is no need to use the scripts that have been provided as long as the scripts are secure ones.
Every page in the administration site needs to be made inaccessible unless accessed by a logged in user.