This site is a lightweight reference of tiny scripts you can copy‑paste to test a server or learn the basics. Each page shows the code, explains what it does, and—where useful—includes a live demo you can run safely.
Shows PHP settings/extensions; useful for debugging server config.
Generates random passwords using PHP.
Confirms that PHP sessions persist correctly.
Hashes an input string with MD5 (for learning/demo only).
Quick check that mail()
is operational.
The classic shell starter—what it is and how to run it.
Intro to loops with a countdown example.
Make decisions based on tests.
Repeat while a condition is true.
Pattern matching for choices.
Reusable blocks with args & returns.
Safer expansions, arrays, env vars.