\n".htmlentities($message, $flags, $encoding)."\n"; } else { print "
\n".htmlentities($message, $flags)."\n
"; } } else { print "\n$message\n"; } // let the user see this now in case there's a time out later... flush(); } }