Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Norm: Hey, everybody. All: [silence; \ | everybody is mad at Norm for being | | rich.] Norm: [Carries on both sides of | | the conversation himself.] | | | | Norm! (Norman.) | | | | How are you feeling today, Norm? | | | | Rich and thirsty. Pour me a beer. | | | | -- Cheers, Tan 'n Wash | | | | Woody: What's the latest, Mr. Peterson? | | Norm: Zsa-Zsa marries a millionaire, | | Peterson drinks a beer. | | | | Film at eleven. | | | | -- Cheers, Knights of the Scimitar | | | | Woody: How are you today, Mr. Peterson? | | Norm: Never been better, Woody. ... | | Just once I'd like to be better. | | | \ -- Cheers, Chambers vs. Malone / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;