Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / A guy walks into a bar, orders a beer, \ | carries it to the bathroom and dumps it | | into a urinal. Over the course of the | | next few hours, he goes back to the bar | | and repeats this sequence -- several | | times. Finally the bartender got so | | curious that he leaned over the bar and | | asked him what he was doing. | | | | Replied the customer, "Avoiding the | \ middleman." / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;