You are here: Re: submit the form concept « PHP Programming Language « IT news, forums, messages
Re: submit the form concept

Posted by Gunnar Hjalmarsson on 11/18/05 09:08

strutsng@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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация