Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / Andrea: Unhappy the land that has no \ | heroes. Galileo: No, unhappy the land | | that _____needs heroes. | | | \ -- Bertolt Brecht, "Life of Galileo" / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;