UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ The ark lands after The Flood. Noah     \
| lets all the animals out. Says he, "Go  |
| and multiply." Several months pass.     |
| Noah decides to check up on the         |
| animals. All are doing fine except a    |
| pair of snakes. "What's the problem?"   |
| says Noah. "Cut down some trees and let |
| us live there", say the snakes. Noah    |
| follows their advice. Several more      |
| weeks pass. Noah checks on the snakes   |
| again. Lots of little snakes, everybody |
| is happy. Noah asks, "Want to tell me   |
| how the trees helped?" "Certainly", say |
| the snakes. "We're adders, and we need  |
\ logs to multiply."                      /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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