Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / If you want to see useful Perl \ | examples, we can certainly arrange to | | have comp.lang.misc flooded with them, | | but I don't think that would help the | | advance of civilization. :-) | | | | -- Larry Wall in | \ <1992Mar5.180926.19041@netlabs.com> / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;