We had made a form (using php and mysql) which is a content management page for handling events of our company. Whenever there is a new event, an authorized user are able to login to the page to upload jpg and write some wording.
The problem is this form had been injected by hackers several times. Even my friend showed me they are using a software to scan through the page he is able to detect the login username And password.
I heard there is a way to encrypt the username password. Please guide me how to protect the username and password for being expose to the outsider.
You have to store password in your database. You can create a nd5 hash for the pasword and store the hash in the databse and then compare two hashes instead of two clear strings. Once your md5 password
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…