Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / s = (char*)(long)retval; /* ouch */ \ | | | -- Larry Wall in doio.c from the perl | \ source code / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;