2013-10-29 【PHP】 パスワードを暗号化する関数 PHPでパスワードを暗号化する関数は$staff_password = md5( $staff_password );で表せる。パスワードを扱うときは、md5を必須で使うこと。