Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Latest commit

 

History

History
71 lines (49 loc) · 2.91 KB

File metadata and controls

71 lines (49 loc) · 2.91 KB

PHP Web Fundamentals

Learning reference with standalone PHP, HTML, CSS, JavaScript, and SQL exercises organized by topic and runnable with the PHP CLI or the built-in PHP server.

PHP checks CodeQL PHP JavaScript SQL License

Contents

Folder Focus
Day00 HTML/CSS layouts, responsive pages, browser JavaScript
Day01 PHP CLI scripts, strings, arrays, parameters
Day02 Dates, time parsing, text processing
Day03 GET parameters, cookies, raw output, protected pages
Day04 Account creation, auth flow, login/logout, chat pages
Day05 SQL query files
Day07 Object-oriented PHP classes
Day09 Browser JavaScript interactions

Run PHP Files

CLI example:

php Day01/ex00/hw.php

Local web server:

php -S localhost:8000

Then open a path such as:

http://localhost:8000/Day04/ex04/index.html

Validate PHP Syntax

sh scripts/check.sh

The script runs php -l against every PHP file in the repository.

Related files:

Runtime Notes

  • No Composer install step is required.
  • Some Day04 flows create local runtime files such as private/ or passwd; those files are ignored.
  • Auth examples use intentionally simple file-backed storage and are not production authentication patterns.

License

GPL-3.0