Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / Violence \ | | | Powerful men are well advised not to | | use violence, For violence has a habit | | of returning; Thorns and weeds grow | | wherever an army goes, And lean years | | follow a great war. A general is well | | advised To achieve nothing more than | | his orders: Not to take advantage of | | his victory. Nor to glory, boast or | | pride himself; To do what is dictated | | by necessity, Not by choice. For even | | the strongest force will weaken with | | time, And then its violence will | | return, and kill it. | | | \ -- Lao Tse, "Tao Te Ching" / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;