I have a CGI application in C that creates an html page, saving the char * as an html page:
void saveTextFile(const char *filename, const char *str){.......}
called
saveTextFile("..\\index.html",outputFile);
How to use zlib to input the input array of outputFile char and display a page with a zip header with the appropriate headers?
Will gzopen be used instead of my saveTextFile function?
Any advice is appreciated. Thanks.
source
share