Open modules/login.php
Should be:Code:if(isset($_POST['submit'])) { $U = $_POST['user']; $P = md5($_POST['pass']);
To prevent some SQL Injections.Code:if(isset($_POST['submit'])) { if(!get_magic_quotes_gpc()) { $U = addslashes($_POST['user']); $P = md5($_POST['pass']); } else { $U = $_POST['user']; $P = md5($_POST['pass']); }
Am I supposed to be named Mike?all this code is based on the original coders Matt and Mike.
We're both Matt.
Of course as this all was written a couple years ago, I did not write all the code, I was still learning at the time, so I merely revised the code, improved it, etc...and all mike did when it became dynasty was refine the code a bit and gave it a better template, so like i said, matt created the base coding
Matt creating the base coding is one of the reasons there were coding problems and SQL injections (like the one mentioned above)
I've probably missed things here and there but hey, when I did all of it, I just started getting into programming <3



Reply With Quote


