Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Ever since prehistoric times, wise men \ | have tried to understand what, exactly, | | make people laugh. That's why they were | | called "wise men." All the other | | prehistoric people were out puncturing | | each other with spears, and the wise | | men were back in the cave saying: "How | | about: Would you please take my wife? | | No. How about: Here is my wife, please | | take her right now. No How about: Would | | you like to take something? My wife is | | available. No. How about ..." | | | \ -- Dave Barry, "Why Humor is Funny" / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;