Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / I sent a letter to the fish, I said it \ | very loud and clear, I told them, "This | | is what I wish." I went and shouted in | | his ear. The little fishes of the sea, | | But he was very stiff and proud, They | | sent an answer back to me. He said "You | | needn't shout so loud." The little | | fishes' answer was And he was very | | proud and stiff, "We cannot do it, sir, | | because..." He said "I'll go and wake | | them if..." I sent a letter back to say | | I took a kettle from the shelf, It | | would be better to obey. I went to wake | | them up myself. But someone came to me | | and said But when I found the door was | | locked "The little fishes are in bed." | | I pulled and pushed and kicked and | | | | knocked, I said to him, and I said it | | plain And when I found the door was | | shut, "Then you must wake them up | | again." I tried to turn the handle, | | But... | | | | "Is that all?" asked Alice. | | | | "That is all." said Humpty Dumpty. | \ "Goodbye." / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;