About 59,316 results: "php md5"
Page 23 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On











  1. 
                        
  2.         $login = file_get_contents( Ipsconnect::$masterUrl . '?' . http_build_query( array( 'act' => 'login', 'idType' => $idType, 'id' => $id, 'password' => md5( $password ) ) ) );
  3.                     {
  4.                         $db->query( "INSERT INTO members ( username, email, password, connect_id ) VALUES ( '". $db->escape_string( $login['connect_username'] ) ."', '". $db->escape_string( $login['connect_email'] ) ."', '". md5( $password ) ."', ". intval( $login['connect_id'] ) ." )" );
  5.                     {
  6.                         $db->query( "UPDATE members SET username='". $db->escape_string( $login['connect_username'] ) ."', email='". $db->escape_string( $login['connect_email'] ) ."', password='".md5( $password )."' WHERE id={$member['id']};" );
  7.                     setcookie( 'ipsce_user', $login['connect_username'], time()+60*60*24*30 );
  8.                     setcookie( 'ipsce_pass', md5( $password ), time()+60*60*24*30 );
  9.                     $redirect = base64_encode( str_replace( 'login.php', 'index.php', $_SERVER['HTTP_ORIGIN'] . $_SERVER['PHP_SELF'] ) );
  10.                     header( 'Location: ' . Ipsconnect::$masterUrl . '?' . http_build_query( array( 'act' => 'login', 'idType' => $idType, 'id' => $id, 'password' => md5( $password ), 'key' => md5( Ipsconnect::$masterKey . $id ), 'redirect' => $redirect, 'redirectHash' => md5( Ipsconnect::$masterKey . $redirect ), 'noparams' => '1' ) ) );
  11.             // Check IPS Connect
  12.             if ( $loggedIn === NULL and isset( $_COOKIE[ 'ipsconnect_' . md5( Ipsconnect::$masterUrl ) ] ) and $_COOKIE[ 'ipsconnect_' . md5( Ipsconnect::$masterUrl ) ] )
  13.                         // Create local member
  14.                         DB::table('ipsconnect_members')->insert(array('username' => $check['connect_username'], 'email' => $check['connect_email'], 'password' => md5( rand( 1, 10000 )), 'connect_id' => intval( $check['connect_id'] )));
  15.                         // $db->query( "INSERT INTO ipsconnect_members ( username, email, password, connect_id ) VALUES ( '". $db->escape_string( $check['connect_username'] ) ."', '". $db->escape_string( $check['connect_email'] ) ."', '". md5( rand( 1, 10000 ) ) ."', ". intval( $check['connect_id'] ) ." )" );
  16.                         $user = DB::table('ipsconnect_members')->where('connect_id', '=', intval($check['connect_id']))->first();









Back to Top