UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ The Commandments of the EE:             \
|                                         |
| (9) Trifle thee not with radioactive    |
| tubes and substances lest thou          |
|                                         |
| commence to glow in the dark like a     |
| lightning bug, and thy wife be          |
|                                         |
| frustrated and have not further use for |
| thee except for thy wages. (10) Commit  |
| thou to memory all the words of the     |
| prophets which are                      |
|                                         |
| written down in thy Bible which is the  |
| National Electrical Code,               |
|                                         |
| and giveth out with the straight dope   |
| and consoleth thee when                 |
|                                         |
| thou hast suffered a ream job by the    |
| chief electrician. (11) When thou       |
| muckest about with a device in an       |
| unthinking and/or                       |
|                                         |
| unknowing manner, thou shalt keep one   |
| hand in thy pocket. Better              |
|                                         |
| that thou shouldest keep both hands in  |
| thy pockets than                        |
|                                         |
| experimentally determine the electrical |
| potential of an                         |
|                                         |
\ innocent-seeming device.                /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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