Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / Nature \ | | | Nature is not kind; It treats all | | things impartially. The Sage is not | | kind, And treats all people | | impartially. Nature is like a bellows, | | Empty, yet never ceasing its supply. | | The more it moves, the more it yields; | | So the sage draws upon experience And | | cannot be exhausted. | | | \ -- Lao Tse, "Tao Te Ching" / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;