Search
 
SCRIPT & CODE EXAMPLE
 

PHP

in php how to check md5 password

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php   
$password= "pass123";   
 
if (isset($_POST['password']) && !empty($_POST['password']))
{
$new_password=$_POST['password'];
     
    if(md5($new_password)==md5($password))
    {
        echo "<br> Correct password ";
    }
    else{
        echo "<br> Incorrect password ";
    }
}
 
?>  
 
<form action="md5.php" method="post">
<input type="text" name="password">
<br>
<input type="submit" >
</form>
Comment

PREVIOUS NEXT
Code Example
Php :: Generating Random String In PHP Using random_bytes() function. (Cryptographically Secure) 
Php :: How I can generate the unique transaction ID in laravel 8 
Php :: php convert float 
Php :: swagger laravel 
Php :: laravel route 
Php :: php url variable xss sanitize 
Php :: wc php product_cat thumbnail 
Php :: Skip model mutator 
Php :: laravel swagger 
Php :: jwt return true 
Php :: filament make resource 
Php :: wpdb get column 
Php :: assign to array array of values php 
Php :: php estrutura basica 
Php :: Calculate Math Expression From A String Text With PHP 
Php :: octobercms mail register 
Php :: php date now 
Php :: php declare variable 
Php :: laravel blade excerpt from body 
Php :: toast in laravel 
Php :: blade Keep input values after failed validation 
Php :: In QueryRecorder.php line 22: Argument 2 passed to FacadeIgnitionQueryRecorderQueryRecorder::__construct() must be of the type bool, null given, 
Php :: mysqli connect error 
Php :: woocommerce order get product weight 
Php :: update php local 
Php :: $$ in php 
Php :: laravel search and return record with pagination 
Php :: php dump to page 
Php :: tenary php 
Php :: date subtraction php 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =