Hi,
everyone
I have two file,one file html and two file cgi for a take over with file cgi of inside file html what can I do?
The two file must save in identical directory ?
File cgi
#!/usr/bin/perl -w
use CGI;
$query = new CGI;
print $query->header;
print $query->b("where did You Hear about US? <br>");
print $query->param('hear');
print $query->b("<br>Music Testes<br>");
print $query->param('type');
file html:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Custemer input</title>
</head>
<body>
<h1>Custemer Information</h1>
<hr size ="1">
<form action ="/scripts/userinfo.pl" method ="post" enctype =
"application/x- <h4>Where did you hear about us?</h4>
<select name = "hear">
<option value = "frien">Friend</option>
<option value = "mag">Magazin</option>
</select>
<h4>Music Test</h4>
<select name ="type" size = "4" multiple>
<option value ="rock">Rock</option>
<option value = "hm">Heavy Metal</option>
</select>
</form>
</body>
</html>
Regards,
Dontu
everyone
I have two file,one file html and two file cgi for a take over with file cgi of inside file html what can I do?
The two file must save in identical directory ?
File cgi
#!/usr/bin/perl -w
use CGI;
$query = new CGI;
print $query->header;
print $query->b("where did You Hear about US? <br>");
print $query->param('hear');
print $query->b("<br>Music Testes<br>");
print $query->param('type');
file html:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Custemer input</title>
</head>
<body>
<h1>Custemer Information</h1>
<hr size ="1">
<form action ="/scripts/userinfo.pl" method ="post" enctype =
"application/x- <h4>Where did you hear about us?</h4>
<select name = "hear">
<option value = "frien">Friend</option>
<option value = "mag">Magazin</option>
</select>
<h4>Music Test</h4>
<select name ="type" size = "4" multiple>
<option value ="rock">Rock</option>
<option value = "hm">Heavy Metal</option>
</select>
</form>
</body>
</html>
Regards,
Dontu