Enjoy a randomly generated fortune:
$ fortune | cowsay
_________________________________________
/ Don't let nobody tell you what you \
| cannot do; don't let nobody tell you |
| what's impossible for you; don't let |
| nobody tell you what you got to do, or |
| you'll never know ... what's on the |
| other side of the rainbow... remember, |
| if you don't follow your dreams, you'll |
| never know what's on the other side of |
| the rainbow... |
| |
| -- melba moore, "the other side of the |
\ rainbow" /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay");
echo $output;