Hello World
echo "Hello World!";
Send Mail
mail("to@exampe.com", "my mail subject", "and all mail body text comes here");
List Files in a Directory
$open_dir = opendir("."); while( $file = readdir($open_dir) ){ echo "$file
";
}
Make a MySQL connection
mysql_connect("localhost", "username", "password");
mysql_select_db("your_database_name");