电脑教程:PHP对密码进行md5加密报错添加失败

电脑教程:PHP对密码进行md5加密报错添加失败

解决方案:
将password类型设置为char(32)即可,然后进行md5加密
$password=md5($_POST[‘password’]);//md5加密
$pw=md5($password);

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *