Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / You know, Callahan's is a peaceable \ | bar, but if you ask that dog what his | | favorite formatter is, and he says | | "roff! roff!", well, I'll just have | \ to... / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;