473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Parsing CGI input string

Does anyone know any C/C++ source code for parsing CGI input string
into name/value pairs? The only condition is not using any templates.

Feb 17 '06 #1
3 2451
ag*****@audible.com wrote:
Does anyone know any C/C++ source code for parsing CGI input string
into name/value pairs? The only condition is not using any templates.


Have you tried the web? What about 'comp.infosystems.www.authoring.cgi'?

CGI is not part of C++ language definition and as such is off-topic here.

V
--
Please remove capital As from my address when replying by mail
Feb 17 '06 #2
ag*****@audible.com wrote:
Does anyone know any C/C++ source code for parsing CGI input string
into name/value pairs? The only condition is not using any templates.


There are a number of libraries using C or C++ for cgi, Google can
help. It's not too hard to write your own if you want, and it can be
done using 100% ISO standard methods, but there's plenty of prior art
out there.


Brian


Feb 17 '06 #3
On 16 Feb 2006 18:27:27 -0800, ag*****@audible.com wrote:
Does anyone know any C/C++ source code for parsing CGI input string
into name/value pairs? The only condition is not using any templates.


Maybe one of the following libraries contains what you want:
http://tazthecat.net/~isaac/cgixx/
http://www.tntnet.org/
http://www.total-knowledge.com/progs/cppserv/

Best wishes,
Roland Pibinger
Feb 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
3
by: Girish | last post by:
Hi All, I have written a component(ATL COM) that wraps Xerces C++ parser. I am firing necessary events for each of the notifications that I have handled for the Content and Error handler. The...
4
by: Gert Van den Eynde | last post by:
Hi all, Could you give me some pointers on how to parse a text input file in C++? Most will be config-file style input (keyword = data), but some maybe 'structures' like material{ name = n,...
12
by: BGP | last post by:
I am working on a WIN32 API app using devc++4992 that will accept Dow Jones/NASDAQ/etc. stock prices as input, parse them, and do things with it. The user can just cut and paste back prices into a...
3
by: Bryan | last post by:
If I have the following string from a huge xml file: std::string s = "<input key1=\"v1\" key2=\"val4\" key3=\"test\" />"; I need to get the values associated with the keys out from this line....
3
by: toton | last post by:
Hi, I have some ascii files, which are having some formatted text. I want to read some section only from the total file. For that what I am doing is indexing the sections (denoted by .START in...
12
by: HMS Surprise | last post by:
The string below is a piece of a longer string of about 20000 characters returned from a web page. I need to isolate the number at the end of the line containing 'LastUpdated'. I can find...
6
by: James Arnold | last post by:
Hello, I am new to C and I am trying to write a few small applications to get some hands-on practise! I am trying to write a random string generator, based on a masked input. For example, given...
6
by: gw7rib | last post by:
I have a program that needs to do a small amount of relatively simple parsing. The routines I've written work fine, but the code using them is a bit long-winded. I therefore had the idea of...
5
by: javanianewbie | last post by:
Hello, I am having trouble when I read in a a file and parsing part of it as an int using substring. Here is the code I have: String input = ""; while(readFile.hasNextLine())
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.