Skip to content

This repository was created to provide practical examples and simple projects for those starting to learn PHP. The goal is to offer a study environment using Wamp Server with PHP 7.

Notifications You must be signed in to change notification settings

Viniirb/exploring-php

Repository files navigation

PHP Study Repository

This repository was created to provide practical examples and simple projects for those starting to learn PHP. The goal is to offer a study environment using Wamp Server with PHP 7.

Prerequisites

  • Wamp Server: Wamp Server is a Windows web development environment that includes Apache, MySQL, and PHP.

  • PHP 7.x: PHP version 7.x introduces various performance improvements and new features.

    • If Wamp Server comes with a different version of PHP, follow the instructions to switch to PHP 7.x.

What you will find in this repository

  • Basic PHP Scripts: Simple examples to understand fundamental concepts of the language, such as variables, arrays, loops, functions, etc.

  • Form Handling: Examples of how to capture and process data from HTML forms using PHP.

  • MySQL Integration: Demonstration of how to connect and perform basic operations in a MySQL database.

  • Sessions and Cookies: Examples on how to work with sessions and cookies in PHP.

  • File Uploads: A tutorial on how to upload files through PHP forms.

  • Error and Exception Handling: How to handle errors effectively and catch exceptions in code.

How to use this repository

  1. Install Wamp Server and make sure it's running correctly.
  2. Clone this repository into the www directory of Wamp Server.
    git clone https://github.com/Viniirb/exploring-php.git
    
    

Feel free to contribute new examples and improvements. Open an issue or submit a pull request!

About

This repository was created to provide practical examples and simple projects for those starting to learn PHP. The goal is to offer a study environment using Wamp Server with PHP 7.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages