Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / He who knows not and knows that he \ | knows not is ignorant. Teach him. He | | who knows not and knows not that he | | knows not is a fool. Shun him. He who | | knows and knows not that he knows is | \ asleep. Wake him. / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;