Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / 17th Rule of Friendship: \ | | | A friend will refrain from telling you | | he picked up the same amount of | | | | life insurance coverage you did for | | half the price when yours is | | | | noncancellable. | | | \ -- Esquire, May 1977 / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;