Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Hey, diddle, diddle the overflow pdl To \ | get a little more stack; If that's not | | enough then you lose it all And have to | \ pop all the way back. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;