Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / For a young man, not yet: for an old \ | man, never at all. | | | | -- Diogenes, asked when a man should | | marry | | | | When should a man marry? A young man, | | not yet; an elder man, not at all. | | | | -- Sir Francis Bacon, "Of Marriage and | \ Single Life" / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;