2. This index.php is a default page and it contains an HTML login form. Change password feature in a web application is to let the user change their old password at some periodic interval. 4. protected_page.php, an example of a protected page 1. By following users and tags, you can catch up information on technical fields that you are interested in as a whole, By "stocking" the articles you like, you can search right away. Be sure that this Then it redirects users either to log in or to the dashboard. Login Form Nothing special here, really. PHPプログラムのheader関数で別のページに移動させる方法やリダイレクトの使い方について解説します。 会員機能などがあるサービスでは、よくあるページにリダイレクトされるのを目にすることがあると思いますが、実際の開発でも役立つ知識なので、ぜひ覚えておきましょう。 This is, however, the weakest point in the security of this authentication scheme. If you are using a session variable as a token to use as a handshake on next page load and the token updates on the new page load, but they mysteriously will not match and there is no obvious explanation.