Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「ロック」する必要があるサブページ add.php があるので、私だけがアクセスできます。パスワードはmysqlデータベースに保存されます。
ありがとう!
.htaccess を使用できる場合は、これを非常に迅速に設定できます。「.htaccess パスワード保護」をグーグル検索すると、スクリプトを作成するいくつかのジェネレーターが返されます。
次のようなことを試すことができます: PHP と mySQL でのログインとログアウト
PHP で HTTP 認証を試す