Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / (1) Alexander the Great was a great \ | general. (2) Great generals are | | forewarned. (3) Forewarned is | | forearmed. (4) Four is an even number. | | (5) Four is certainly an odd number of | | arms for a man to have. (6) The only | | number that is both even and odd is | | infinity. | | | \ Therefore, all horses are black. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;