Pear::Auth 認証

Pear::Auth 認証ログイン
フォ-ム PHP ファイル
LoginForm0.php


63Pear Villageに戻る

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ログインページ</title>
</head>
<body>
<form method="POST" action="">

<table>
  <tr>
    <th>ユーザ ID :</th>
    <td>
    <input type="text" name="username"
     size="15" maxlength="20">
    </td>
    <!-- "username" は他の名前に変更する
     ことはできない -->    
  </tr>
  <tr>
    <th>パスワード:</th>
    <td>
    <input type="password" name="password"
     size="15" maxlength="20">
    </td>
    <!-- "password" は他の名前に変更する
     ことはできない -->     
  </tr>
  <tr>
    <td colspan="2">
    <input type="submit" value="ログイン">
    </td>
  </tr>
</table>
<?php
  if(isset($err[$status])){
    print("<br>".$err[$status]);
  }
?>
</form>
</body>
</html>