Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.81 KB

File metadata and controls

61 lines (42 loc) · 1.81 KB

PHP Web Fundamentals

PHP JavaScript SQL License: GPL-3.0

Standalone PHP, HTML, CSS, JavaScript, and SQL files organized by topic and runnable with the PHP CLI or the built-in PHP server.

Maintenance status: archived learning reference. This repository is kept public as a record of older web fundamentals work, but it is not part of the active DevOps portfolio.

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.

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