[Vienna-pm] Formularparameter benutzen

Peter J. Holzer hjp at wsr.ac.at
Fri Feb 25 00:27:48 PST 2005


On 2005-02-25 08:25:40 +0100, LAUN Wolfgang wrote:
> Die HTML-Struktur ist nicht korrekt. Das erste <td> steht vor <table>.

Außerdem gibt es kein Element <header/>, das heißt <head/>.

> Vermutlich ignoriert der CGI-Parser das <input> mit dem Start-Feld
> deswegen.

Durchaus möglich, allerdings sind die meisten Browser sehr tolerant, was
kaputtes HTML angeht. Mit dem Mozilla funktioniert es übrigens.

Ich tippe eher darauf, dass sich im Perl-Code irgendwo ein Fehler
versteckt, aber den hat e_horn uns ja vorenthalten (Da das hier eine
Perl-Mailinglist ist und keine HTML-Mailinglist, finde ich es etwas
seltsam, nur ein HTML-File zu posten, aber nicht einmal ein
Perl-Fragment, das den Fehler demonstriert.

Hier übrigens das CGI-Script, das ich zum Testen verwendet habe:

#!/usr/bin/perl
use warnings;
use strict;
use CGI;

my $q = CGI->new;
print "Content-Type: text/plain; charset=iso-8859-1\r\n";
print "\r\n";
print "Start: ", $q->param('Start'), "\n";
print "Suchtext: ", $q->param('Suchtext'), "\n";


	hp

-- 
   _  | Peter J. Holzer      | If the code is old but the problem is new
|_|_) | Sysadmin WSR / LUGA  | then the code probably isn't the problem.
| |   | hjp at wsr.ac.at        |
__/   | http://www.hjp.at/   |     -- Tim Bunce on dbi-users, 2004-11-05
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 388 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/vienna-pm/attachments/20050225/ad01ee21/attachment.bin


More information about the Vienna-pm mailing list