Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Woody: What's the story, Mr. Peterson? \ | Norm: The Bobbsey twins go to the | | brewery. | | | | Let's just cut to the happy ending. | | | | -- Cheers, Airport V | | | | Woody: Hey, Mr. Peterson, there's a | | cold one waiting for you. Norm: I know, | | and if she calls, I'm not here. | | | | -- Cheers, Bar Wars II: The Woodman | | Strikes Back | | | | Sam: Beer, Norm? Norm: Have I gotten | | that predictable? Good. | | | \ -- Cheers, Don't Paint Your Chickens / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;