Professional Documents
Culture Documents
Objective:
The main goal of this assignment is to acquaint students with PHP sessions, cookies, and the include
functionality. Through creating a modular user preference system, students will learn to better structure their
PHP applications.
Scenario:
You're tasked with developing a user-friendly website for a local library. To provide a personalized experience,
users should have the ability to adjust certain visual elements of the site. The website should remember these
settings on subsequent visits.
Tasks
1. Setting Up PHP on Your Machine
To ensure that PHP runs smoothly on your machine and integrates properly with Visual Studio, you need to
do the following:
1|Page
Press Enter.
If PHP was installed and configured correctly, you should see an output similar to the following (though the
exact version number and details might differ):
PHP 7.4.10 (cli) (built: Sep 1 2020 16:52:32) (ZTS Visual C++ 2017 x64)
3. Practical examples
Now practice examples 24-26 of the lecture.
Refine the include file by adding more menu from online resources.
Good luck! 😊
BIOM9450 Team
2|Page