Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / When you and I are far apart Can sorrow \ | break your tender heart? I love you | | darling, yes I do; Sleep is so sweet | | when I dream of you; All you are is a | | blossoming rose. Night is here so I | | must close. With care read the first | | word of each line. You will find a | | question of mine. | | | \ -- Yours hopefully, The VAX. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;