Enjoy a randomly generated fortune:
$ fortune | cowsay ____________________________________ / The five rules of Socialism: \ | | | (1) Don't think. | | | | (2) If you do think, don't speak. | | | | (3) If you think and speak, don't | | write. | | | | (4) If you think, speak and write, | | don't sign. | | | | (5) If you think, speak, write and | | sign, don't be surprised. | | | \ -- being told in Poland, 1987 / ------------------------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;