|
-
Jan 6th, 2002, 09:51 PM
#1
Thread Starter
Member
Submit Form Results..
What would be the cleanest way to take a string from a submit form like:
var1=Hello&var2=Internet&var3=World
And parse it so I can store each var into a variable of its on in c++..
-
Jan 7th, 2002, 11:03 AM
#2
i'd use strtok
or perl/php
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 7th, 2002, 12:13 PM
#3
Monday Morning Lunatic
Do a quick search under my name and you'll find a thread with some attached files to do it.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 7th, 2002, 02:43 PM
#4
Thread Starter
Member
There is a very strict rule to it tho... I cannot do it in php or perl. Its gotta be done in c++ cause if you use perl or php.. then I'd have to load the interpreter everytime the script is called thus killing off the reason of doing it in c++.
parksie... ok
-
Jan 7th, 2002, 02:54 PM
#5
Monday Morning Lunatic
That's a server configuration issue though.
If you use Apache with mod_php and mod_perl then the interpreter is actually loaded into the server itself, resulting in zero startup time, and the possibility of caching the compiled bytecodes.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|