note 44741 added to function.md5
| From: | myself at schaelle dot de | Date: | Sun, 15 Aug 2004 01:45:03 +0000 |
| Subject: | note 44741 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74665@lists.php.net to get a copy of this message | ||
A Simple Example for MD5 Coding:
<?php
if(!isset($_GET[action])) {
print "<form method=\"post\" action=\"?action=code\">\n";
print "<input type=\"text\" name=\"md5\">\n";
print "<br>\n";
print "<input type=\"submit\" value=\"Code.it!\">\n";
print "</form>";
}
else {
$md5 = trim($_POST['md5']);
if(empty($md5)) {
print 'No Input';
}
else {
print 'MD5: '.md5($_POST['md5']);
}
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44741
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44741&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44741&report=yes
Search -- http://master.php.net/manage/user-notes.php