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.
| 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 |
CLI example:
php Day01/ex00/hw.phpLocal web server:
php -S localhost:8000Then open a path such as:
http://localhost:8000/Day04/ex04/index.html
sh scripts/check.shThe script runs php -l against every PHP file in the repository.
Related files:
- No Composer install step is required.
- Some
Day04flows create local runtime files such asprivate/orpasswd; those files are ignored. - Auth examples use intentionally simple file-backed storage and are not production authentication patterns.