So, habe nun alles wie folgt abgeändert:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
debian:/var/www# cat begruessung.html
<html>
<head>
<title>Wie heist du denn?</title>
</head>
<body>
<form action="cgi-bin/hello.pl" method="post">
<input type=text name="vorname" size=30>
<input type=submit value="Ich haben fertig!">
</form>
</body>
</html>
debian:/var/www# cat /usr/lib/cgi-bin/hello.pl
#!/usr/bin/perl -w
#use strict;
my $qrystrg = $ENV{'QUERY_STRING'};
($varname, $varwert) = split(/=/, $qrystrg);
print "Content-type: text/html\n\n";
print "
<html>
<head>
<title>Hallo $varwert</title>
</head>
<body>
<h1>Hallo $varwert</h1>
</body>
</html>";#!/usr/bin/perl -w
Nun wird zwar die Seite mit "Hallo" angezeigt, allerdings wird der Wert nicht mit übertragen.
Wieso???
D'OH
Daniel