Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / I remember once being on a station \ | platform in Cleveland at four in the | | morning. A black porter was carrying my | | bags, and as we were waiting for the | | train to come in, he said to me: | | "Excuse me, Mr. Cooke, I don't want to | | invade your privacy, but I have a bet | | with a friend of mine. Who composed the | | opening theme music of 'Omnibus'? My | | friend said Virgil Thomson." I asked | | him, "What do you say?" He replied, "I | | say Aaron Copeland." I said, "You're | | right." The porter said, "I knew | | Thomson doesn't write counterpoint that | | way." I told that to a network | | president, and he was deeply | | unimpressed. | | | \ -- Alistair Cooke / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;