Re: Strange message in web page

2008-07-13 Thread Raymond Wan
Hi Ronald, Ronald J Kimball wrote: Those are the HTTP response headers. They are showing in the browser because your script is returning a malformed response, i.e. printing "null device 1" before the headers. The browser is unable to parse the headers and treats them as part of the body.

Re: Strange message in web page

2008-07-11 Thread Ronald J Kimball
On Sat, Jul 12, 2008 at 12:10:52AM +0900, Raymond Wan wrote: > > Hi John, > > I see...I didn't know it was possible to print anything before > headers... I am not printing that statement, as far as I know, but > maybe a library I am using is. I will look into it... > > So, the part after "HT

Re: Strange message in web page

2008-07-11 Thread Raymond Wan
Hi John, I see...I didn't know it was possible to print anything before headers... I am not printing that statement, as far as I know, but maybe a library I am using is. I will look into it... So, the part after "HTTP/1.1 ...", why is that shown? Is that a web server setting? What is od

Re: Strange message in web page

2008-07-11 Thread John Gateley
On Fri, 11 Jul 2008 18:57:10 +0900 Raymond Wan <[EMAIL PROTECTED]> wrote: > ... but it also displays this at the top of > the page: > > null device 1 HTTP/1.1 200 OK Date: Fri, 11 Jul 2008 09:40:57 GMT > ... You are printing "null device 1" to stdout somewhere in your code before you print the