UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ FORTUNE'S RANDOM QUOTES FROM MATCH GAME \
| 75, NO. 1:                              |
|                                         |
| Gene Rayburn: We'd like to close with a |
| thought for the day, friends ---        |
|                                         |
| something ...                           |
|                                         |
| Someone: (interrupting) Uh-oh           |
|                                         |
| Gene Rayburn: ...pithy, full of wisdom  |
| --- and we call on the Poet             |
|                                         |
| Laureate, Nipsey Russell                |
|                                         |
| Nipsey Russell: The young people are    |
| very different today, and there is      |
|                                         |
| one sure way to know: Kids used to ask  |
| where they came                         |
|                                         |
| from, now they'll tell you where you    |
| can go.                                 |
|                                         |
\ All: (laughter)                         /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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