Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / Burn's Hog Weighing Method: \ | | | (1) Get a perfectly symmetrical plank | | and balance it across a sawhorse. | | | | (2) Put the hog on one end of the | | plank. | | | | (3) Pile rocks on the other end until | | the plank is again perfectly | | | | balanced. | | | | (4) Carefully guess the weight of the | | rocks. | | | \ -- Robert Burns / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;