Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / We fight only when there is no other \ | choice. We prefer the ways of peaceful | | contact. | | | | -- Kirk, "Spectre of the Gun", stardate | \ 4385.3 / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;