Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 24-05-2011, 09:28 AM   #1 (permalink)
Broken In
 
Join Date: May 2004
Posts: 101
Default Html form Query


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
dikudik is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-05-2011, 09:54 AM   #2 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: Html form Query

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.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is online now   Reply With Quote
Old 24-05-2011, 11:46 AM   #3 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: Html form Query

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.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline   Reply With Quote
Old 14-06-2011, 04:09 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2011
Posts: 5
Default Re: Html form Query

Get the entered value and write it to a file..
shabin5785 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2