#!/usr/bin/perl
# sendxx.pl
use CGI qw(:standard);
print "Content-type:text/html\n\n";
$query = new CGI;

$name = $query -> param('name');
$lastname = $query -> param('lastname');
$age = $query -> param('age');
$email = $query -> param('email');

print "<h3>you wrote: </h3><br><br>";
print "<b>name : </b>$name<br>";
print "<b>lastname : </b>$lastname<br>";
print "<b>age: </b>$age<br>";
print "<b>email : </b>$email<br><br><br>";

print "<html><body>";
print "<form action=sendxx.pl method=get>";
print "your name : <input type=text name=name><br>";
print "last name: <input type=text name=lastname><br>";
print "your age : <input type=text name=age><br>";
print "your email : <input type=text name=email><br>";
print "<input type=submit value=send></form>";
print "</form></body></html>";



***************

hi there,
help me adding a few lines/script to above simple form to send datas so that it can be stored there..or in a text file..
..the problem is that every time I refresh my page data gets lost
so how can I solve that problem..(it is a kind of guest book)
thanks