Skip to content

Instantly share code, notes, and snippets.

@tizoc
Created March 3, 2014 18:28
Show Gist options
  • Save tizoc/9331412 to your computer and use it in GitHub Desktop.
Save tizoc/9331412 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use CGI qw/:standard -debug/;
my $value = param("B1");
print "HTTP/1.0 200 OK\n";
print "Content-type: text/html\n\n";
print <<HTML;
<html>
<head>
<title>Pledge</title>
</head>
<body>
<form action="store-details.cgi" method="POST">
<p align="center"><H1>Thanks for your pledge to $value </strong></H1></p>
<p>Name: <input type="text" size="50" name="name"></p>
<p>Email: <input type="text" size="50" name="email"></p>
<p>Amount: £<!--webbot bot="Validation"
s-data-type="Number" s-number-separators="x." --><input
type="text" size="5" name="cash"></p>
<p><input type="submit" name="send" value="Submit"></p>
</form>
</body>
</html>
HTML
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment