In this project we are going to explore the content of the variable $_SERVER which is injected to the running script, in it we can find information about the server environment and the client.
Table of Contents
In this project I go through all the basic concept of PHP.
- Make an analysis of the local PHP server variable $_SERVER.
- Make an analysis of the local PHP server variable $_SESSION.
- How to edit the file “php.ini”.
- Create a login which will allow you to access another PHP file and view the content only if you are logged in.
This section should list any major frameworks that you built your project using.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
It is important that before starting you have an environment capable of running PHP in a version higher than 7.2. As we are going to use XAMPP we will be running 8 version which is the newest one. Here you can see the PHP releases:
To intalling and use this project you will need:
-
Install XAMPP
-
Press start in order to turn on the services.
-
Go to XAMPP application and press the tab Volumes and press mount button once it is mounted you can press the button explore to open the XAMPP directory.
-
Clone the repo inside of htdocs for our project.
git clone https://github.com/fab-rvn/PHP-Server-Environment.git
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Fabrizio Ervini - @faber_dev - [email protected]
Project Link: https://github.com/fab-rvn/PHP-Server-Environment.git