Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / A traveling salesman was driving past a \ | farm when he saw a pig with three | | wooden legs executing a magnificent | | series of backflips and cartwheels. | | Intrigued, he drove up to the | | farmhouse, where he found an old farmer | | sitting in the yard watching the pig. | | | | "That's quite a pig you have there, | | sir" said the salesman. | | | | "Sure is, son," the farmer replied. | | "Why, two years ago, my daughter was | | swimming in the lake and bumped her | | head and damned near drowned, but that | | pig swam out and dragged her back to | | shore." | | | | "Amazing!" the salesman exclaimed. | | | | "And that's not the only thing. Last | | fall I was cuttin' wood up on the north | | forty when a tree fell on me. Pinned me | | to the ground, it did. That pig run up | | and wiggled underneath that tree and | | lifted it off of me. Saved my life." | | | | "Fantastic! the salesman said. But tell | | me, how come the pig has three wooden | | legs?" | | | | The farmer stared at the newcomer in | | amazement. "Mister, when you got an | | amazin' pig like that, you don't eat | \ him all at once." / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;