Various Resources for use
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.
- Read the explanation to understand what the script is doing.
- Copy the snippet and save it with the filename shown.
- Run the live demo to see it behave on the server.
PHP Scripts
PHP Info
Shows PHP settings/extensions; useful for debugging server config.
Password Generator
Generates random passwords using PHP.
Session Tester
Confirms that PHP sessions persist correctly.
MD5 Generator
Hashes an input string with MD5 (for learning/demo only).
sendmail( ) test
Quick check that mail() is operational.
HTML Scripts
BASH Scripts
Hello World
The classic shell starter—what it is and how to run it.
Bash For Loops
Intro to loops with a countdown example.
Bash If / Else
Make decisions based on tests.
Bash While Loops
Repeat while a condition is true.
Bash case
Pattern matching for choices.
Bash Functions
Reusable blocks with args & returns.
Variables & Quoting
Safer expansions, arrays, env vars.