Password Verify

Started by BamBam0077, November 21, 2017, 02:50:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BamBam0077

#1

<?php
//---------------------------------
  
$hash ''.sha1("$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq").'';
 
  
password_verify(''.$password.''$hash);
//date("d.m.y", time() - 60 * 60 * 24) taken from - 
//https://stackoverflow.com/questions/16009152/how-to-get-date-of-yesterday-using-php 
  
if ( time() - 60 60 ) {
display("<div class='animate wobble'>");  
    
//https://www.w3schools.com/css/css3_shadows.asp
display("<div id='shadoweffect' class='animate flipInX'><text>Being Redirected, Please Wait... Loading Now</text></div>");
    
display("</div>");
redirect("?phashredir=protection?=true");
  } else {
    
//https://www.w3schools.com/css/css3_shadows.asp
echo "<div id='shadoweffect'class='animate flipInX'><strong><text>Synx Error, Try Again.</text></strong></div>";  
  }
//--------------------------------
?>

"When Darkness Shadows Your Doubts, Deep Within Us Is Our Key, Not Success But Everything" ~ Anonymous