Enjoy a randomly generated fortune:
$ fortune | cowsay ____________________________________ / FORTUNE PROVIDES QUESTIONS FOR THE \ | GREAT ANSWERS: #13 A: Doc, Happy, | | Bashful, Dopey, Sneezy, Sleepy, & | | Grumpy Q: Who were the Democratic | \ presidential candidates? / ------------------------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;