Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / Reporter (to Mahatma Gandhi): Mr \ | Gandhi, what do you think of Western | | | | Civilization? Gandhi: I think it would | \ be a good idea. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;