no message

This commit is contained in:
a-kizaki
2026-10-06 12:10:09 +09:00
commit 9c2090ffa2
156 changed files with 14850 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
// Util/validate.php:Ex05用
/**
* ユーザー認証チェック関数
* ユーザー名が "admin"、パスワードが "secret" の場合のみ認証成功
*
* @param string $username
* @param string $password
* @return bool 認証成功ならtrue
*/
function checkUser($username, $password)
{
return ($username === 'admin' && $password === 'secret');
}