Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgiheader(3) [debian man page]

cgiHeader(3)							Programmer's Manual						      cgiHeader(3)

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 reg- ular 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). CGI Library 6 April 2008 cgiHeader(3)

Check Out this Related Man Page

cgiGetVariables(3)						Programmer's Manual						cgiGetVariables(3)

NAME
cgiGetVariables - Returns a list of CGI variables SYNOPSYS
#include <cgi.h> char **cgiGetVariables (s_cgi *parms); DESCRIPTION
This routine returns a NULL terminated array of CGI variables that are available. To get the value of a variable you'll have to use cgiGetValue(3). To free the memory allocated use cgiFreeList(3). RETURN VALUE
On success a NULL terminated array of strings is returned. The last element is set to NULL. If an error occurred or if no variables are available NULL is returned. 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
cgiGetValue(3), cgiGetCookie(3), cgiGetCookies(3), cgiFreeList(3), cgiDebug(3), cgiHeader(3), cgiInit(3). CGI Library 6 April 2008 cgiGetVariables(3)
Man Page