|
Sorry, but this is TERRIBLE code.
It's 2017 and you're using the old mysql connector instead of mysqli with prepared statements or the pdo connector.
Also, why are you using md5 in the database? Current NetspherePirates versions use PBKDF2 and older versions use SHA1! Md5 is easy to crack, and I don't even see any salting in your code.
Edit: I have made a small & simple cms for NetspherePirates (for personal use), if people are interested, I can modify it a little and post it on github or write it into a simple to use php-library and post that.
|