codeIgniter_3_1_11/login/forgotpassword
public function forgotpassword (){ if (! empty ( $_POST )) { $email = $this -> input -> post ( 'email' ); $get = $this -> db -> where ( 'email' , $email ); $get = $this -> db -> get ( 'user_accounts' ); if ( $get -> num_rows () > 0 ) { $string = '' ; $characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' ; $max = strlen ( $characters ) - 1 ; for ( $i = 0 ; $i < 8 ; $i ++) { $string .= $characters [ mt_rand ( 0 , $max )];...