Re: [請益] 關於document.的資料型態

看板PHP作者 (好多事...)時間16年前 (2009/06/08 15:15), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/7 (看更多)
※ 引述《fabdawn (晃阿晃阿)》之銘言: <form name=kc method='post' action='index.php' onSubmit=" if ( document.kc.username.value != "<?=$_SESSION['username']?>" || document.kc.password.value != "<?=$_SESSION['password']?>" ){ alert('帳號密碼錯誤'); return false; clearAll(); } return true; "> 應該是這樣吧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.39.243

06/08 16:17, , 1F
即使如此,這種寫法在client端帳密就被人家看光光了.
06/08 16:17, 1F
文章代碼(AID): #1ABBf_yt (PHP)
文章代碼(AID): #1ABBf_yt (PHP)