Am Dienstag, 30. Oktober 2007 18:30:11 schrieb Ross Thomas:
> On Tue, 30 Oct 2007 17:48:58 +0100, "Ingo Krabbe" <[EMAIL PROTECTED]>
>
> said:
> > puts("Status: 200\r\n");
>
> puts() by definition will add a '\n' to the end of the string during
> output.
> This effectively terminates the headers.
o
Am Dienstag, 30. Oktober 2007 18:10:27 schrieb Darren Garvey:
> On 30/10/2007, Ingo Krabbe <[EMAIL PROTECTED]> wrote:
> > Since I'm working low level I like such statements like:
> >
> > puts("Status: 200\r\n");
> > puts("ContentType: text/html\r\n");
> > puts("\r\n");
> > puts("...");
> > puts("")
On Tue, 30 Oct 2007 17:48:58 +0100, "Ingo Krabbe" <[EMAIL PROTECTED]>
said:
>
> puts("Status: 200\r\n");
puts() by definition will add a '\n' to the end of the string during
output.
This effectively terminates the headers.
Use either fputs() or one of the printf() variants to output your text.
On 30/10/2007, Ingo Krabbe <[EMAIL PROTECTED]> wrote:
>
>
> Since I'm working low level I like such statements like:
>
> puts("Status: 200\r\n");
> puts("ContentType: text/html\r\n");
> puts("\r\n");
> puts("...");
> puts("");
>
>
> But If I do so the header is completed and the body begins (with
>
Hi,
I'm developing a C fcgi application and I got quite far with that, enabling
modular programming and several higher level modules that can now be used
from the web application. It's quite flexible and runs as fast as light.
Since I'm working low level I like such statements like:
puts("Sta