UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/  Once upon a time there were three      \
| brothers who were knights in a certain  |
| kingdom. And, there was a Princess in a |
| neighboring kingdom who was of          |
| marriageable age. Well, one day, in     |
| full armour, their horses, and their    |
| page, the three brothers set off to see |
| if one of them could win her hand. The  |
| road was long and there were many       |
| obstacles along the way, robbers to be  |
| overcome, hard terrain to cross. As     |
| they coped with each obstacle they      |
| became more and more disgusted with     |
| their page. He was not only inept, he   |
| was a coward, he could not handle the   |
| horses, he was, in short, a complete    |
| flop. When they arrived at the court of |
| the kingdom, they found that they were  |
| expected to present the Princess with   |
| some treasure. The two older brothers   |
| were discouraged, since they had not    |
| thought of this and were unprepared.    |
| The youngest, however, had the answer:  |
| Promise her anything, but give her our  |
\ page.                                   /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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