UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ Ever wonder why fire engines are red?   \
|                                         |
| Because newspapers are read too. Two    |
| and Two is four. Four and four is       |
| eight. Eight and four is twelve. There  |
| are twelve inches in a ruler. Queen     |
| Mary was a ruler. Queen Mary was a      |
| ship. Ships sail the sea. There are     |
| fishes in the sea. Fishes have fins.    |
| The Finns fought the Russians. Russians |
| are red. Fire engines are always        |
\ rush'n. Therefore fire engines are red. /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


Here is the PHP code:
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay");
echo $output;