> First probem: > The ip and browser type etc are printed out in the browser on one line > with no newline yet I included "\n\n" Browsers respect HTML, not line feeds. Try adding a <br/>.