![]() |
溫瑞烘老師的教學歷程檔案(Teaching ePortfolio) - 105-2-四技資管二甲資料結構 - 第14週-Form-Password |
| 第14週-Form-Password<?php $command=$_POST["command"]; if ($command=="") { // 登入頁面 echo "<html><body><center> <form method=post action=''> 帳號 <input type=text name='username' size='30'><br> 密碼 <input type=password name='password' size='30'><br> <input type=submit name=command value='登入'> </center></form></body></html>"; } if ($command=="登入") { // 取出 username // 取出 password // 判斷 username==學號 及password==學號 // 登入成功,再次顯示登入頁面並顯示帳號與密碼 } ?>
|
|
中華科技大學數位化學習歷程 - 意見反應 | ![]() |