[aprssig] Web page help

Andrew Rich vk4tec at tech-software.net
Fri Oct 9 03:41:07 EDT 2009


I am trying to post a large text string to a cgi (perl) so I can process it line by line

Can someone help me ?

I have this so far

-------------------- send code --------------------------------------------------------

<FORM ACTION="/cgi-bin/test.cgi" METHOD="POST">
<textarea cols="50" rows="4" name="comment"></textarea>
<input type=submit value="Submit Details">
<input type=reset value="Reset">     

-------------------- process code --------------------------------------------------------

print "Content-type: text/html\n\n";
@pairs= split(/&/, $ENV{'QUERY_STRING'});
foreach $pair (@pairs) 
($name, $value) = split(/=/, $pair);
print $name."=".$value;
$FORM{$name} = $value;
@lines = $comment;
foreach (@lines) {
print $_;


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20091009/59d02b7a/attachment.html>

More information about the aprssig mailing list