Poster of Linux kernelThe best gift for a Linux geek
cgiHeader

cgiHeader

Section: Programmer's Manual (3) Updated: 6 April 2008
Local index Up
 

NAME

cgiHeader - Print the HTTP header  

SYNOPSYS

#include <cgi.h>

void cgiHeader ();
 

DESCRIPTION

This routine just prints out the Contents-type: line to make the web server happy. By default the CGI library assumes that you return regular HTML code and uses "text/html" as type. If your CGI program returns something else, you may set the type with cgiSetType(3). You may also add additional header lines by using cgiSetHeader(3).

 

RETURN VALUE

This routine does not return a value.

 

AUTHOR

This CGI library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him.

 

SEE ALSO

cgiDebug(3), cgiSetHeader(3), cgiSetType(3), cgiInit(3), cgiGetValue(3).


 

Index

NAME
SYNOPSYS
DESCRIPTION
RETURN VALUE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:06:21 GMT, April 16, 2011