Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / A computer salesman visits a company \ | president for the purpose of selling | | the president one of the latest talking | | computers. Salesman: "This machine | | knows everything. I can ask it any | | question | | | | and it'll give the correct answer. | | Computer, what is the | | | | speed of light?" Computer: 186,282 | | miles per second. Salesman: "Who was | | the first president of the United | | States?" Computer: George Washington. | | President: "I'm still not convinced. | | Let me ask a question. | | | | Where is my father?" Computer: Your | | father is fishing in Georgia. | | President: "Hah!! The computer is | | wrong. My father died over twenty | | | | years ago!" Computer: Your mother's | | husband died 22 years ago. Your father | | just | | | \ landed a twelve pound bass. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;