Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass parameters to a cgi program
Message
From
14/12/2000 05:15:54
 
 
To
13/12/2000 07:52:46
General information
Forum:
Visual C++
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00452803
Message ID:
00453257
Views:
20
I believe the parameter(s) are turned into environment variables so the the following should allow you to access them:-
 void main(int argc, char **argv, char **envp) {
    while(*envp) {
        printf("%s\n",(*envp));
        *envp++;
    }
 }
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform