Thread Variablenänderung (14 answers)
Opened by Gast at 2009-01-26 15:30

Gast Gast
 2009-01-27 08:39
#118372 #118372
Hab jetzt mal ein wenig rumgespielt. Bekomme mit folgendem Code:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w

use DBI;
use CGI qw/:all/;
use warnings;
use strict;

$country = param('country');

print "Content-type: text/html\n\n";
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">', "\n";
print "<html><head><title>Test-Ausgabe</title></head><body>\n";
print "<h1>Hurra, es klappt!</h1>\n";
print "</body></html>\n";

einen "Internal Server Error". Sobald ich die Zeile $country = param('country'); lösche, funktioniert es wieder.

View full thread Variablenänderung