Web Site

Internet-description.com



» Internet » Web development » Topics begins with F » Form for ape


Page modified: Saturday, June 24, 2006 10:37:38

Forms for ape one calls forms for HTML on Internet sides, which call themselves again and again when mailing. Here at the beginning of the side over a script the handed over parameters are evaluated. The designation form for ape is derived from the fact that one million ape can call such a form one million time, without causing something.

Beginning

With the programming beginning for a form for ape a server-lateral PHP or Perl script is usually used, which is at the beginning of the side and which entered receives data, indicates if necessary again for valid inputs examined and with incorrect inputs the form. The form fields with that entered data are reserved already before and the users can correct or supplement its inputs.

Technical conversion

  • The first step is the production of a form for HTML.
  • In the second step with the help of the used server-lateral programming language it is ensured that the form sends itself by the Browser always on "„"“(thus the originally called URL).
  • Step three ensures then for the fact that all form inputs appear when mailing the form as pre-emption of the form fields in the renewed expenditure invariably again.
  • A form in this condition is called form for ape and can be used in the fourth step as basis for further programming. For example an examination of the form values can be supplemented to branch out in order to indicate with error free data input for data processing and - storage - otherwise however again the form with an appropriate error message.

Example

Following simple example of a form for ape shows the necessary code chips in HTML and PHP, which usually are within a Skriptes.

HTML code

    type= does " text " <input name= " text field " value= "  php if (isset ($_POST ["“text field"”])) {echo htmlspecialchars ($_POST ["“text field"”]);  > " > <input type= " submit"” name= value= " mailing " submit"” " > 

PHP code

if (empty ($_POST ["“text field"”])) {$error = 1; } else {headers ("“location: $redirect_url"”); exit; } 

Related links


Articles in category "Form for ape"

We found here 2 articles.

F

» Form for ape
» Frappr

Related Websites

We found here 3 related websites.

Page cached: Wednesday, July 5, 2006 23:57:18
Valid XHTML 1.0!  Valid CSS!

Page copy protected against web site content infringement by Copyscape