Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass parameters to a cgi program
Message
De
14/12/2000 05:15:54
 
 
À
13/12/2000 07:52:46
Information générale
Forum:
Visual C++
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00452803
Message ID:
00453257
Vues:
21
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++;
    }
 }
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform