PHP Classes

File: form.php

Recommend this page to a friend!
  Classes of Alisson Acioli   Capturing data in a simplified form post   form.php   Download  
File: form.php
Role: Auxiliary script
Content type: text/plain
Description: Form to fill in test data.
Class: Capturing data in a simplified form post
Validate and retrieve POST values into constants
Author: By
Last change:
Date: 13 years ago
Size: 936 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Class Unico Post</title>
</head>
<body>
<form action="captura.php" method="post">
<table width="200" border="0">
  <tr>
    <td>Nome:</td>
    <td><input type="text" name="nome" id="nome" /></td>
  </tr>
  <tr>
    <td>Sobrenome:</td>
    <td><input type="text" name="sobrenome" id="sobrenome" /></td>
  </tr>
  <tr>
    <td>Endereço:</td>
    <td><input type="text" name="endereco" id="endereco" /></td>
  </tr>
  <tr>
    <td>Cep:</td>
    <td><input type="text" name="cep" id="cep" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" name="button" id="button" value="Enviar POST" /></td>
  </tr>
</table>

</form>
</body>
</html>