Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / You can't learn too soon that the most \ | useful thing about a principle is that | | it can always be sacrificed to | | expediency. | | | \ -- W. Somerset Maugham, "The Circle" / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;