Zorich
08-03-2001, 08:21 PM
Hi all,
I'm wondering if anyone could help me with my problem
I want to load a variable from a text file into a cgi script
Then in the cgi script I want to increase the variable value by 1. Then write it back into the text file.
I have no idea how to do this; my knowledge of cgi is minimum. All I know is I can either read the text file or write into the text file, I don't know how to do both.
Example of the variable I use in the test file:
temp=5
I would appreciate any help, thx.
I'm wondering if anyone could help me with my problem
I want to load a variable from a text file into a cgi script
Then in the cgi script I want to increase the variable value by 1. Then write it back into the text file.
I have no idea how to do this; my knowledge of cgi is minimum. All I know is I can either read the text file or write into the text file, I don't know how to do both.
Example of the variable I use in the test file:
temp=5
I would appreciate any help, thx.