Link to home
Start Free TrialLog in
Avatar of tanc02
tanc02

asked on

perl in c

Could anyone help me to solve this problem ?

I would like to use pure C to write a very simple cgi script.

OK. This script will get an input( integer ) from the user
on the net, after user entered an integer and pressed the submit button. That number will store in a text file called num.txt. So, the text file should not be overwrote, it should be able to store as many as it can.

Please tell me how to call that script from the html and do I have to change any thing in server conf file ?
ASKER CERTIFIED SOLUTION
Avatar of jhurst
jhurst

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
Avatar of sobhan102398
sobhan102398

atoi converts string to integer
i=atoi("1001")
gives i as 1001