Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

submit button

Posted on 1998-12-07
6
247 Views
Last Modified: 2010-04-09
In html file,when I create a form and I when fill the form and submit it ,where this data submits.How can I code submit button to submit data in some file or table.Please explain in detail with code ,I am a learner of HTML.
I am not able to make the form because of submit button.
0
Comment
Question by:neelam_s
6 Comments
 

Author Comment

by:neelam_s
ID: 1840312
Edited text of question
0
 
LVL 4

Expert Comment

by:martinag
ID: 1840313
The form is submitted to a script which is a program running at the server.
It receives everything that you have entered etc and can do almost anything.

Do you have the ability to run CGI at you home page (check with your ISP)? If so, we could work out a solution for you. Otherwise, it will be impossible to create a file at the server etc.

Martin
0
 
LVL 12

Expert Comment

by:Otta
ID: 1840314
While reading this page, you may notice that it has a 'SUBMIT' button.
So, use 'View -> Document Source' (in Netscape)
to look at this HTML, and see how it is done.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Accepted Solution

by:
toTo earned 50 total points
ID: 1840315
> where this data submit ?

2 way to submit data
one is called POST and will submit data in the input file
of the program on the server,
the other is called GET and send the data along the URL
ex http://www.myhost.com/mypage?name=toto&password=xxxx

> How can I code submit button to submit data ...

for both way you can submit data wich where not entered
by the user ( but if he edit the code he can see it )


<FORM ACTION="mypage.html" method=post>
<input type="hidden" name="password" value="xxxxxxx">
<input type=submit value="Carnet d'adresses">
</FORM>

> in some file or table ?
depends from the web server you use ( often impossible if public





0
 

Author Comment

by:neelam_s
ID: 1840316
Thanks for good help,I will try this and will send you result soon.Can you solve one more query regarding this.
What I think is when I post the page ,this page goes to server any specified url as you say but hthere should be the same format of field where it can store the data.I meanwhere it will store name,age,place,(whatever i am entering in form).
0
 
LVL 1

Expert Comment

by:toTo
ID: 1840317
Of course, i would be glad to help you, and your problem
is very interesting, but i am french and see i am not very clear.
What i told you ( and i tested it on my server ) comes from
an O'Reilly book : Web Client Programming with Perl Chapter 3.
I will try to comment your last comment :
What you say is not realy wrong but a bit too simple :
you do not POST page in a form like that, you post the data
in the form, which are submited to the page name in ACTION="..",
but this is not an ordinary page :
either it is a CGI ( comon gatway interface ) or a dynamic page :
a CGI is in fact a regular program the server starts to do the
job but webmasters never let you make it at will because these
programs can do anything on the server : erase files, or even
stop the server ( if badly configured )
a dynamic page is a page which includes special tags <?
what is written betweens thos tags is not to be sent to the
client, those are queries to be executed on the server
and the result will be sent, some server let you run a personal
database that way ( i know a free site in France which offer that)
As you accepted the answer, your question is know lost in PAQs,
i think it would be easier to discuss via mail.
frans@ac-orleans-tours.fr


   

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
document.write() deleting all existing HTML 5 49
Scroll 5 news at a time. 4 33
Load data upon clicking a button 8 34
removing a class in javascript 4 46
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question