UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ Notes for a ballet, "The Spell": ...    \
| Suddenly Sigmund hears the flutter of   |
| wings, and a group of wild swans flies  |
| across the moon ... Sigmund is          |
| astounded to see that their leader is   |
| part swan and part woman --             |
| unfortunately, divided lengthwise. She  |
| enchants Sigmund, who is careful not to |
| make any poultry jokes.                 |
|                                         |
\ -- Woody Allen                          /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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