Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / Skinner's Constant (or Flannagan's \ | Finagling Factor): | | | | That quantity which, when multiplied | | by, divided by, added to, | | | | or subtracted from the answer you got, | | gives you the answer you | | | \ should have gotten. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;