UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 ________________________________________
/ Three Midwesterners, a Kansan, a       \
| Missourian and an Iowan, all appearing |
| on a quiz program, were asked to       |
| complete this sentence: "Old MacDonald |
| had a . . ."                           |
|                                        |
| "Old MacDonald had a carburetor,"      |
| answered the Kansan.                   |
|                                        |
| "Sorry, that's wrong," the game show   |
| host said.                             |
|                                        |
| "Old MacDonald had a free brake        |
| alignment down at the                  |
|                                        |
| service station," said the Missourian. |
|                                        |
| "Wrong."                               |
|                                        |
| "Old MacDonald had a farm," said the   |
| Iowan.                                 |
|                                        |
| "CORRECT!" shouts the quizmaster. "Now |
| for $100,000, spell 'farm.'"           |
|                                        |
\ "Easy," said the Iowan. "E-I-E-I-O."   /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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