Enjoy a randomly generated fortune:
$ fortune | cowsay
________________________________________
/ The reason it's called "Grape Nuts" is \
| that it contains "dextrose", which is |
| also sometimes called "grape sugar," |
| and also because "Grape Nuts" is |
| catchier, in terms of marketing, than |
| "A Cross Between Gerbil Food and |
| Gravel," which is what it tastes like. |
| |
\ -- Dave Barry, "Tips for Writer's" /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay");
echo $output;