WhirlPool Hash on PHP
#7

Quote:
Originally Posted by Mark_Weston
Посмотреть сообщение
Here is an example of what I did;

Код:
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);
There are 100000 other ways to do it. (don't copy mine code as it won't work with yours.
If your using mysql then you shouldn't be coding PHP. A good developer will always keep up to date with new syntax. You should be using mysqli.
Reply


Messages In This Thread
WhirlPool Hash on PHP - by Mriss - 28.05.2014, 20:54
Re: WhirlPool Hash on PHP - by Isolated - 28.05.2014, 20:55
Respuesta: WhirlPool Hash on PHP - by JustBored - 28.05.2014, 20:56
Re: WhirlPool Hash on PHP - by Mriss - 28.05.2014, 20:57
Re: WhirlPool Hash on PHP - by Isolated - 28.05.2014, 20:59
Re: WhirlPool Hash on PHP - by Mark_Weston - 28.05.2014, 21:22
Re: WhirlPool Hash on PHP - by Isolated - 28.05.2014, 21:23
Re: WhirlPool Hash on PHP - by Calgon - 29.05.2014, 07:56
Re: WhirlPool Hash on PHP - by Joe Staff - 29.05.2014, 09:08
Re: WhirlPool Hash on PHP - by Calgon - 29.05.2014, 09:55

Forum Jump:


Users browsing this thread: 1 Guest(s)