Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<HTML>
<HEAD><TITLE>Simplest Input Page</TITLE></HEAD>
<BODY>
<FORM ACTION="/cgi-bin/simple.cgi" METHOD="POST">
<P>email, please:
<INPUT TYPE="TEXT" WIDTH="25" NAME="E_ADD">
</P>
</FORM>
</BODY>
</HTML>
[code]
Here is a very simple peice of CGI that catches the
email entered into the HTML input page above. Cut,
paste and save this into your cgi dir and name it
simple.cgi (consistent with the html above).
[code]
#!/usr/local/bin/perl
use CGI; # load the CGI module
$q = new CGI; # retrieve inputs into an object, $q
# get the parameter named 'E_ADD' from the object, $q
$email = $q->param('E_ADD');
# print some compliant html to the browser
print $q->header;
print $q->start_html;
print "<P>Email is $email</P>\n";
print $q->end_html;