RE: Output to file with nothing to browser, Robert, 10-01-2006
No, but you could output a blank page
by Roger Harris, October 2, 2006 07:14
The program sends that page because, if nothing at all has been sent to the brower, the browser will display an error message about an "incomplete set of headers."
There isn't any way to intentionally send back nothing at all, but you could send back a blank page (i.e. just an <HTML> tag or even a blank line), or you could use the HEADER command to send back one or more custom headers and nothing else. (For example, if you send back HEADER "Content-type: text/html" followed by a blank HEADER "", then the browser will not display an error message.)
Name E-mail optional TopicMessage:
HTTP Link: Link text: