Hi,<br><br>All of this is rather new to me although I think I have overwon the first step and I’m starting to like this. What I’m trying to do is executing a cgi script which should read a datafile and only add 1 to the value of the corresponding variable in the datafile that was send with the form! <br><br>If I’m right the script underneath should read in the all variables from the datafile:<br><br>$variables_file = “../data_file”;<br><br>sub variables_read {<br> # read in the data file<br> open (VARIABLES_FILE, "< $variables_file"
or &error("Could not open data file at line ", __LINE__);<br> @variables_data = <VARIABLES_FILE>;<br> chomp @variables_data;<br> close VARIABLES_FILE;<br>}<br><br>The next steps are:<br>1. identify the corresponding variable and add 1 to it’s value.<br>2. save it into the datafile.<br><br>This is a bit to much for me right now. Is there somebody who can help me with it.<br><br>raoul<br>