Foreach loop
sample output :
This element is: copper
This element is: iron
This element is: gold
This element is: cobalt
Form handling
Include a file with error reporting
Check if a file exists
Show referring URL
Random number
Result:
739446694 1763568558 15
Form action - detect form post
For loop
Result:
12345678910
Ban / block IP addresses
Email validation
Redirect browser
Array declaration
Email
foreach loop
switch - strings
Result:
a dragon goes: nice to eat you
switch - integers
trim and convert to lowercase
Script Execution Time
Result:
Script took 6.6E-05 seconds to exicute
Word of the day
The text file contains all of the words/phrases that will
be displayed on a certain day. This should have only one item/phrase
per line.
Result:
Money
Remove all characters except letters and numbers from a string
Result:
This is some text and numbers 12345 and symbols
|