Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Now I lay me down to study, I pray the \ | Lord I won't go nutty. And if I fail to | | learn this junk, I pray the Lord that I | | won't flunk. But if I do, don't pity me | | at all, Just lay my bones in the study | | hall. Tell my teacher I've done my | \ best, Then pile my books upon my chest. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;