Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Notes for a ballet, "The Spell": ... \ | Suddenly Sigmund hears the flutter of | | wings, and a group of wild swans flies | | across the moon ... Sigmund is | | astounded to see that their leader is | | part swan and part woman -- | | unfortunately, divided lengthwise. She | | enchants Sigmund, who is careful not to | | make any poultry jokes. | | | \ -- Woody Allen / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;