Shall i create a cgi script with main function command line Argument ? If i can , How can i pass the data to this command line arguments ? And shall i pass Array of data from JavaScript to cgi-script which is created in c++. How many ways are available for Passing a data from a Html Page to cgi-script ? I'm displaying 100 records in a HTML files . Each Record fields displayed in a Text Box. After Modifying some records in the HTML page i want to send the modified records and the record to number to the Cgi-Script . How can i send the particular records or how can i save all records showed in the text box to the text file using cgi-scripts in c++ ?