28.05.2014, 21:22
Here is an example of what I did;
There are 100000 other ways to do it. (don't copy mine code as it won't work with yours.
Код:
if (isset($_POST['UserName'])) { $loginUsername=$_POST['UserName']; $password=$_POST['Password']; $password = strtoupper(hash("whirlpool",$password)); $MM_fldUserAuthorization = "playerMDCLevel"; $MM_redirectLoginSuccess = "cpanel.php"; $MM_redirectLoginFailed = "errors.php?ErrorID=2"; $MM_redirecttoReferrer = false; mysql_select_db($database_lspd, $lspd);