Thread Button funktionieren nicht! (28 answers)
Opened by Gast at 2004-12-15 11:18

Kathrin
 2004-12-15 15:18
#3725 #3725
User since
2004-12-15
158 Artikel
BenutzerIn
[default_avatar]
Ich geb aber normal einen header aus.
Code: (dl )
1
2
3
4
5
6
my $cgi = new CGI;
....
sub such_eintr {
my ($param)=@_;
print "Content-type: text/html\n\n";
print "<HTML>\n";

wenn ich den header so wie du angegeben hast formuliere, kommt folgende Fehlermeldung:

Software error:
Bareword "text" not allowed while "strict subs" in use at /usr/local/httpd/cgi-bin/frontl.cgi line 69.
Bareword "html" not allowed while "strict subs" in use at /usr/local/httpd/cgi-bin/frontl.cgi line 69.
Execution of /usr/local/httpd/cgi-bin/frontl.cgi aborted due to compilation errors.

View full thread Button funktionieren nicht!