jump to navigation

PHP Code สำหรับเข้ารหัส md5 September 9, 2010

Posted by jbanju in Programming PHP.

<!–coded by harsha email:nharsha@lycos.com—>
<title>php and its md5 function</title>
/*if statement verifies the form input*/
$code= md5($pass);
/*note that these htmlspecialchars and md5 are the built in functons of php language*/
echo “the word you have entered is:\t\t\t”.$pass.”
echo “the md5 form of the word is:\t\t\t”.$code;
//end of if statement
<form method=”post” action=”<?=$PHP_SELF?>”>

enter a word:
<input type=”text” name=”pass”>

<input type=”submit” value=”md5″>
ก๊อปปี้ไปแล้ว save เป็นนามสกุล .php   แล้วรันใน  appserv  ดูครับ



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: