This sample demonstrates how to write a simple website without a framework. It shows how to:
- Create the Home page
- Create the Login page
- Create the Logout page
You need to have Apache 2.4 HTTP server and PHP v.5.6 or later.
Download the sample to your Apache document root directory (for example, /var/www/html
).
Now you should be able to see the sample website by visiting the link "http://localhost/index.php".
This code is provided under the BSD-like license.
If you found a mistake or a bug, please report it using the Issues page. Your feedback is highly appreciated.