home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet 1996 World Exposition
/
park.org.s3.amazonaws.com.7z
/
park.org.s3.amazonaws.com
/
cgi-bin
/
Japan
/
Theme.0105
/
checklist.cgi
< prev
next >
Wrap
Text File
|
2017-09-21
|
1KB
|
66 lines
#!/usr/local/bin/perl5
$| = 1;
# script for meeting room
# jrh
$CgiPath = '/stage/htdocs/cgi-bin/Japan/Theme';
push(@INC, "$CgiPath");
require 'jcode.pl'; # tends to be in /usr/local/lib/perl
require 'read-form.pl'; # tends to be in your cgi path
require 'frames.pl';
require 'meetinit.pl';
$ThisFile = '/stage/htdocs/cgi-bin/Japan/Theme/checklist.cgi';
# print "Content-type: text/html\n\n";
&get_referer;
&print_room;
#########################################################################
sub get_referer {
$Referer = $ENV{'HTTP_REFERER'};
}
sub print_room {
select(STDOUT);
# tell the server that we're sending data back now
print "Content-type: text/html\n\n";
# now send the server some html stuff
print '<html>
<head><title>Check inn</title></head>
<body bgcolor="#ffffff">
<P>';
print "<FORM method=\"POST\" ACTION=\"$ThemeSite$ThemeCgi/checkin.cgi\">";
print 'Name: <BR>
<INPUT TYPE="TEXT" NAME="your_name" SIZE=10><BR>
Location:<BR>
<INPUT TYPE="TEXT" NAME="your_location" SIZE=10><BR>';
print "<INPUT TYPE=\"HIDDEN\" NAME=\"referer\" VALUE=\"$Referer\">";
print '<input type="submit" value="Submit">
</form>
</body>
</html>';
}