Link to home
Start Free TrialLog in
Avatar of DaThiN
DaThiN

asked on

Passing parameters to a CGI

Hi!! I'm programming a CGi in C (DOS) and I'm trying to pass a parameter to it. I have to pass only 1 parameter.. if this is 1, the program makes an action, if it's 2, another and it it's 3, another. I'm trying for example: zzzz.exe?1, but when I tested the program printing argc variable, it prints a 3, and printing strings stored at argv, I couldn't get any paramater.... how can I do it?

Thanks in advance,
Jaime
ASKER CERTIFIED SOLUTION
Avatar of julio011597
julio011597

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial