[REBOL] Re: CGI: debug mode Re:
From: alex:pini:mclink:it at: 1-Sep-2000 15:02
>- Open Your Mind -<
Quoting from [mailinglists--post--com's] message (01-Sep-00 09:55:57).
m> I've seen it in a lot of CGI Rebol scripts: place the 'print
m> "Content-type: text/html"' first.
m>
m> I don't like it myself, but I use it sometimes when I run into trouble,
m> until the script is fully tested, then I put it in place again.
I do, too (during the debug phase, then I comment it away), but you may have missed the
point: the script never issued that first print because of an early error, one that went
off *before* the script started. That's what kept me in the dark for so long. Apache
logs didn't help me much either, because they just reported incomplete headers, which
I thought the script was printing well... :-?
Alessandro Pini ([alex--pini--mclink--it])
FBI. F... B... I!!
(Mulder (van Blundht))