Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / I gave my love an Apple, that had no \ | core; I gave my love a building, that | | had no floor; I wrote my love a | | program, that had no end; I gave my | | love an upgrade, with no cryin'. | | | | How can there be an Apple, that has no | | core? How can there be a building, that | | has no floor? How can there be a | | program, that has no end? How can there | | be an upgrade, with no cryin'? | | | | An Apple's MOS memory don't use no | | core! A building that's perfect, it has | | no flaw! A program with GOTOs, it has | | no end! I lied about the upgrade, with | \ no cryin'! / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;