473,386 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

submit the form concept

I want to clarify the concept of submitting the form to the web server.
PHP is just an example here, it applies to any web programming
languages.

On page1.php,
<form name="myform" action="otherpage.php" method="post">

means 2 steps here:
1) submit the form called "myform" on page1.php to the web server using
HTTP POST method.
2) open otherpage.php

Also, otherpage.php can be page1.php itself, that means post the page
to itself, or this is called POST BACK.

Is that correct? Please advise & comment.

Thanks!!

Nov 20 '05 #1
5 1350
st******@gmail.com wrote:
I want to clarify the concept of submitting the form to the web server.
PHP is just an example here, it applies to any web programming
languages.
Since I'm replying from clpmisc, and before somebody else says it: Perl
is used for more than web programming. Many seasoned Perl programmers
are not doing web programming at all.
On page1.php,
<form name="myform" action="otherpage.php" method="post">

means 2 steps here:
1) submit the form called "myform" on page1.php to the web server using
HTTP POST method.
Almost agreed. Rather than submitting the form you submit a set of data
by help of the form.
2) open otherpage.php
I'd say: "ask otherpage.php to do something with the submitted data".
Also, otherpage.php can be page1.php itself,
Yes.
that means post the page to itself,
No. You don't post "the page", you post some data. Neither do you post
the data to "the page", you post them to the server, asking the server
to let _the script_ handle the data.
or this is called POST BACK.


Have never heard that expression.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Nov 20 '05 #2
st******@gmail.com wrote:
I want to clarify the concept of submitting the form to the web
server. PHP is just an example here, it applies to any web programming
languages.
Ah, ok, thanks for clarifying that you are _not_ talking about Perl.

[...] Is that correct? Please advise & comment.


Don't know. Do you have a question about Perl, too?

jue
Nov 20 '05 #3
st******@gmail.com wrote:
I want to clarify the concept of submitting the form to the web server.
PHP is just an example here, it applies to any web programming
languages.

On page1.php,
<form name="myform" action="otherpage.php" method="post">

means 2 steps here:
1) submit the form called "myform" on page1.php to the web server using
HTTP POST method.
2) open otherpage.php

Also, otherpage.php can be page1.php itself, that means post the page
to itself, or this is called POST BACK.

Is that correct? Please advise & comment.

Thanks!!


Hi struts,

Please do not post to a zillion newsgroups.
That is annoying.
And now I am annoying everybody in groups I never visit too by replying to
them all.

It is a common mistake to expect faster answers by posting to all groups
that possibly might have something to do with your problem.
Many people get irritated when you do that, as you maybe noticed.

If you post to 1 active group, you will get your answer.
Posting to many groups will lead to broken threads, and thus discussions
become impossible to follow.
Especially simple questions like this one will be answered in no time in any
respectable group..

Regards,
Erwin Moller

Nov 20 '05 #4
No there is a single step. Data are just posted to otherpage.php.

PostBack is the ASP.NET term for posting HTTP data to a page (likely because
in ASP.NET data are most frequently posted to the same page than the one who
displayed data)...

--
Patrice

<st******@gmail.com> a écrit dans le message de
news:11**********************@o13g2000cwo.googlegr oups.com...
I want to clarify the concept of submitting the form to the web server.
PHP is just an example here, it applies to any web programming
languages.

On page1.php,
<form name="myform" action="otherpage.php" method="post">

means 2 steps here:
1) submit the form called "myform" on page1.php to the web server using
HTTP POST method.
2) open otherpage.php

Also, otherpage.php can be page1.php itself, that means post the page
to itself, or this is called POST BACK.

Is that correct? Please advise & comment.

Thanks!!

Nov 20 '05 #5

[ Followups set ]
st******@gmail.com <st******@gmail.com> wrote:
it applies to any web programming
languages.

Then posting to a programming language newsgroup is inappropriate.

Also, how is a "web programming language" different from
a "programming language"?

Please advise & comment.

Don't make off-topic postings.
--
Tad McClellan SGML consulting
ta***@augustmail.com Perl programming
Fort Worth, Texas
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matt | last post by:
When people say submit the form data, does it mean the form data are submitted to web browser using either HTTP GET or POST method, and then it will redirect to another page. For example, this...
3
by: Andy Fish | last post by:
Hi, I have a web page with some form controls on it. When the user presses the 'OK' button, some javascript talks to another page in another window. This form is never destined for the server so...
6
by: JSjones | last post by:
Hi all, I'm new to these boards and my javascript experience is fairly limited and basic so please bear with me. Anyway, on to the question and some background. I'm developing using ColdFusion...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
3
by: D. Shane Fowlkes | last post by:
Sorry for the length of this post. I have created a rather complex form which has a header/line item (parent and child records) structure. It's for an intranet. A screenshot can be seen here: ...
4
by: strutsng | last post by:
I want to clarify the concept of submitting the form to the web server. PHP is just an example here, it applies to any web programming languages. On page1.php, <form name="myform"...
1
by: kkuniya | last post by:
Situation : - A form (method : POST, action : itself, onsubmit : alert 'Submit' ) - Got 2 submit button ( 'Save' , 'View') - Got navigation 1|2|3|4 What I want to do : - Once clicked on the...
7
by: Bjorn Sagbakken | last post by:
Hello. There maybe an simple answer to this, but sometimes one get a strange blindness when working intensely on one single problem. I'm using ASP.NET 2003, building pages that include 3 user...
3
by: Daniel | last post by:
Hi all, I am using .NET 1.1. I have a form with a cancel button, something like this: <form method="post"....> <input type="submit" value="Submit"> <input type="submit" value="Cancel"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.