#include <dsCGI.h>
Public Methods | |
dsCGI () | |
dsCGI (const char *src) | |
~dsCGI () | |
void | parseQueryString (const char *query_string) |
void | parseCookie (const char *cookie) |
void | content_header (const char *mime="text/html") |
const char * | postData () |
char * | seek (const char *key) |
char * | seek_cookie (const char *key) |
char * | getstring (const char *key) |
long | getlong (const char *key) |
char * | getstring (const char *key, char *defval) |
long | getlong (const char *key, long defval) |
int | operator! () |
const char * | pathInfo () |
const char * | scriptName () |
This class provide method for common CGI operation and shell to some of CGI related environment variables
revise for memory leaks intreface cleanup
|
|
|
|
|
|
|
Write common http header, including Expire
|
|
|
|
|
|
Find a key, return found value. if key not defined return default value search query string first, then search cookie
|
|
Find a key, return found value, search query string first, then search cookie
|
|
|
|
|
|
|
|
Shell for PATH_INFO environment variable.
|
|
Accessor to internal buffer containing post_data post data doesn't paresed by default - it should be done explicitly |
|
Shell for SCRIPT_NAME environment variable.
|
|
Find a key
|
|
|