Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Woody: Hey, Mr. Peterson, what do you \ | say to a cold one? Norm: See you later, | | Vera, I'll be at Cheers. | | | | -- Cheers, Norm's Last Hurrah | | | | Sam: Well, look at you. You look like | | the cat that swallowed the canary. | | Norm: And I need a beer to wash him | | down. | | | | -- Cheers, Norm's Last Hurrah | | | | Woody: Would you like a beer, Mr. | | Peterson? Norm: No, I'd like a dead cat | | in a glass. | | | | -- Cheers, Little Carla, Happy at Last, | \ Part 2 / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;