Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / OS/2 Beer: Comes in a 32-oz can. Does \ | allow you to drink several DOS Beers | | simultaneously. Allows you to drink | | Windows 3.1 Beer simultaneously too, | | but somewhat slower. Advertises that | | its cans won't explode when you open | | them, even if you shake them up. You | | never really see anyone drinking OS/2 | | Beer, but the manufacturer | | (International Beer Manufacturing) | | claims that 9 million six-packs have | \ been sold. / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;