UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ /*                                      \
|                                         |
| * [...] Note that 120 sec is defined in |
| the protocol as the maximum             |
|                                         |
| * possible RTT. I guess we'll have to   |
| use something other than TCP            |
|                                         |
| * to talk to the University of Mars.    |
|                                         |
| * PAWS allows us longer timeouts and    |
| large windows, so once implemented      |
|                                         |
| * ftp to mars will work nicely.         |
|                                         |
| */                                      |
|                                         |
| -- from /usr/src/linux/net/inet/tcp.c,  |
\ concerning RTT [round trip time]        /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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