<?
require_once "class_get_post.php";
$rec = new gp();
if($rec->get){
echo "<pre>";
print_r($rec->post);
echo "<br>";
print_r($rec->get);
}else{
?>
<form name="form1" method="post" action="teste.php?envia=1">
<label>
<input type="text" name="textfield">
</label>
<br>
<input type="text" name="textfield2">
<br>
<input type="text" name="textfield3">
<br>
<input type="text" name="textfield4">
<br>
<input type="text" name="textfield5">
<br>
<input type="text" name="textfield6">
<br>
<label>
<input type="submit" name="Submit" value="Submit">
</label>
</form>
<?
}
?>
|