473,946 Members | 20,623 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="otherpa ge.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 1374
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="otherpa ge.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="otherpa ge.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.goo glegroups.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="otherpa ge.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 "programmin g language"?

Please advise & comment.

Don't make off-topic postings.
--
Tad McClellan SGML consulting
ta***@augustmai l.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
2096
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 is page1.aspx <form action="page2.aspx" method="post"> means it will submit the page1.aspx form data to the web server, and then redirect from page1.aspxto page2.aspx?
3
2911
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 I don't want it to have any concept of "submit". However, I have noticed that pressing enter in a text field will submit the form to the server. Because I haven't specified a form action, it just tries to post to the root URL for my site which...
6
11411
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 4.5 and a good deal of the page processing depends on whether or not a control is defined. To prevent users from clicking on a submit button more than once or clicking on another submit button before the page has finished processing I have...
10
19379
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 able to fill that one out just fine. The second form is multipart/form-data. Unfortunately, I haven't been able to fill that out in a way that makes the server happy. I set up a copy of this form at my web site so that I could see exactly what a...
3
2575
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: http://www.drpt.virginia.gov/temp1.gif All the fields on this form have validation controls on them so they can not submit the form unless all fields are completed and some fall within a specified numeric range. When the form first is loaded,...
4
1357
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" 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.
1
2589
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 navigation page, it will save the page without need to click on 'Save' button. Currently, if i manually clicked on the 'Save' button; it will save the page.
7
2109
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 controls (banner, top-menu and sub-menu). The top-menu contains like five asp:buttons. Further down the form there is search field with another asp:button. And I naturally want this button to act as submit button in the sense that when
3
2509
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" id="btnCancel"> </form>
0
10151
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11151
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10685
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9884
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6111
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6328
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4933
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.