DIGIT-ARC read-only archive · snapshot: July 23, 2026

Html form Query

4 posts · originally from https://geek.digit.in/community/threads/html-form-query.141202/

D
dikudik Original post #1
May 24, 2011 at 9:28 AM
hi, everyone
i have one specific query about html form.
i already prepared one small form for which coding is as below:

<FORM method="post" action="../cgi-bin/gform">
Name: <INPUT type="text" name="Name" size=40><br>
Email: <INPUT type="text" name="EMaddress" size=40><br>
Site Name: <INPUT type="text" name="PTitle" size=40><br>
URL: <INPUT type="text" name="URL" size=40>
<INPUT type="submit" value="Send">
</FORM>

now my question is what ever data i am inputting in this form where it will be stored?
and suppose i run this form 4 times and all data which i entered running 4 times is it stored ? or vanished
i m confused i just want to store all my data when i m entring in form

thanks to all
krishnandu.sarkar
May 24, 2011 at 9:54 AM
Ok, look when you enter data and submit this form, it'll go to ../cgi-bin/gform, in generalized sentence it goes the file which is specified in action using the method you use. In your case, your data will be send using post method.

Now it depends on you what you want to do with your data. If you want to show it just print them, otherwise if you want them to store, store them in database, file anything.

I hope I'm clear.

Anyway moving this to Programming, it better fits there.
Liverpool_fan
May 24, 2011 at 11:46 AM
It will go nowhere unless the CGI script exists to process your POST request. If you just learning HTML, ignore that part. You'll eventually learn what exactly happens when you learn PHP or J2EE or CGI/Perl, etc.
S
Jun 14, 2011 at 4:09 PM
Get the entered value and write it to a file..