Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / "Mr. Spock succumbs to a powerful \ | mating urge and nearly kills Captain | | Kirk." | | | | -- TV Guide, describing the Star Trek | \ episode _Amok_Time_ / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;