I have 2 files (file.html) and (file.cgi)

---- file.html Contain this lines ----
<form action="file.cgi">
<INPUT TYPE="HIDDEN" NAME="NAME" VALUE="Khaled">
<INPUT TYPE="HIDDEN" NAME="Age" VALUE="23">
<input type="submit" value="SUBMIT"></form>
<form>
-------------------

I want to print the name and age using CGI Code which will write in file (File.cgi)

What is the code of file.cgi ?

Thanks