UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 ______________________________________
/ Twas FORTRAN as the doloop goes      \
|                                      |
| Did logzerneg the ifthen block All   |
| kludgy were the function flows       |
|                                      |
| And subroutines adhoc.               |
|                                      |
| Beware the runtime-bug my friend     |
|                                      |
| squrooneg, the false goto Beware the |
| infiniteloop                         |
|                                      |
| And shun the inprectoo.              |
|                                      |
| -- "OUTCONERR," to the scheme of     |
\ "Jabberwocky"                        /
 --------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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