Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Now that day wearies me, My yearning \ | desire Will receive more kindly, Like a | | tired child, the starry night. | | | | Hands, leave off your deeds, Mind, | | forget all thoughts; All of my forces | | Yearn only to sink into sleep. | | | | And my soul, unguarded, Would soar on | | widespread wings, To live in night's | | magical sphere More profoundly, more | | variously. | | | \ -- Hermann Hesse, "Going to Sleep" / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;