Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / When the saleman's car broke down, he \ | walked to the nearest farmhouse to ask | | if he could stay the night. The farmer | | agreed to put him up. "I live alone," | | he continued, "you can have the bedroom | | at the top of the stairs, to the | | right." | | | | "Oh, never mind," the disappointed | | salesman said. "I think I'm in the | \ wrong joke." / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;