Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
Library of CGI related functions

--------------------------------------------------------------------------------

Description : This is a library of CGI related functions for use with CGI and related applications and handles tasks like URL decoding, splitting name-value pairs, removing server side includes etc.

/*THIS FILE CONTAINS GENERAL CGI RELATED FUNCTIONS
FOR USE WITH CGI AND RELATED APPLICATIONS.
Author : Tushar Malhotra totobogy
02-Sep-04 11:42:44 PM*/


#include<stdio.h>
#include<stdlib.h>
#include<string.h>


/*PROTOTYPES*/
typedef struct name_val_pair name_val_pair;
int readn(char *str,int n,FILE *stream);
int replaceall(char *src, const char *find, const char *rep);
char* geturlstr(void);
void decode(char *url);
void rem_ssi(char *chkstr);
name_val_pair* name_val(char *url);
long givcount(char*);



/*A GENERAL PURPOSE FUNCTION WHICH READS N CHARACTERS FROM STREAM AND
APPENDS '
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG