Enjoy a randomly generated fortune:
$ fortune | cowsay
_________________________________________
/ 'Twas midnight on the ocean, Her \
| children all were orphans, Not a |
| streetcar was in sight, Except one a |
| tiny tot, So I stepped into a cigar |
| store Who had a home across the way To |
| ask them for a light. Above a vacant |
| lot. |
| |
| The man behind the counter As I gazed |
| through the oaken door Was a woman, old |
| and gray, A whale went drifting by, Who |
| used to peddle doughnuts Its six legs |
| hanging in the air, On the road to |
| Mandalay. So I kissed her goodbye. |
| |
| She said "Good morning, stranger", This |
| story has a morale Her eyes were dry |
| with tears, As you can plainly see, As |
| she put her head between her feet Don't |
| mix your gin with whiskey And stood |
| that way for years. On the deep and |
| dark blue sea. |
| |
\ -- Midnight On The Ocean /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay");
echo $output;