GithubHelp home page GithubHelp logo

php-server-environment's Introduction

PHP-Server-Environment

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
  1. About The Project
  2. Getting Started
  3. Contributing
  4. Contact

About The Project

In this project I go through all the basic concept of PHP.

  1. Make an analysis of the local PHP server variable $_SERVER.
  2. Make an analysis of the local PHP server variable $_SESSION.
  3. How to edit the file “php.ini”.
  4. Create a login which will allow you to access another PHP file and view the content only if you are logged in.

Built With

This section should list any major frameworks that you built your project using.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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:

https://www.php.net/downloads

Installing

To intalling and use this project you will need:

  1. Install XAMPP

    https://www.apachefriends.org/download.html

  2. Press start in order to turn on the services.

  3. 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.

  4. Clone the repo inside of htdocs for our project.

    git clone https://github.com/fab-rvn/PHP-Server-Environment.git

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Fabrizio Ervini - @faber_dev - [email protected]

Project Link: https://github.com/fab-rvn/PHP-Server-Environment.git

php-server-environment's People

Stargazers

Roman avatar

Watchers

Fabrizio Ervini avatar

php-server-environment's Issues

Create a login page which will allow you to access another PHP file and view the content only if you are logged in.

  • The login will ask for email and password
  • Create a "index.php" which will be the login page.
  • Create a file "panel.php", that should render a message depends fi the user is logged in or not, it must also contain a button to log.
  • Create a file "validate.php" that receiving the data from the form and should redirect the user depending on whether the login is correct or not.
  • Create a file "close_session.php" where the session will be closed and redirect the user to the login page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.