Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / There are two types of people in this \ | world, good and bad. The good sleep | | better, but the bad seem to enjoy the | | waking hours much more. | | | \ -- Woody Allen / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;