diff options
| author | Horus3 | 2014-03-12 00:02:34 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-12 00:02:34 +0100 |
| commit | 0148c370ea13ee0469bd67260cf8c9fe9c97677d (patch) | |
| tree | 3f9b3c276a82011b88232c1a157ac2e5ceeb7377 | |
| parent | 3bb704a521afdd999a7b48b8cff71adfc05c565d (diff) | |
| download | files.iamfabulous.de-0148c370ea13ee0469bd67260cf8c9fe9c97677d.tar.gz | |
new password function in php5.5
| -rw-r--r-- | www/password.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/password.php b/www/password.php new file mode 100644 index 0000000..2808fe4 --- /dev/null +++ b/www/password.php @@ -0,0 +1,8 @@ +<? + +$hash = password_hash($_GET["password"], PASSWORD_DEFAULT); +if(password_verify($_GET["password"], $hash)){ + echo $hash; +} else { + echo "Not verified."; +} |
