Ich benuttze das Wampp.
Mien Problem ist das wen ich ein einfache CGI - Perlscript aufrufe dann lädt er wieder die Web site anstatt die Antwort Html site von Perl.
Was ist falsch?
Da beide Übungslistings sehr Kurz sind hier mal die Inhalte der Dateien...:
====================================
Die aufrufende HTML Datei:
====================================
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>CGI-Test</title>
</head>
<body>
<Form "/cgi-bin/1st-cgi.pl" methode="post">
<hr>
<input name="eingabezeile" type="TEXT" size= 40 >
<input type=submit value="Absenden">
<input type=reset value="Formular Löschen" >
<hr>
</body>
</html>
====================================
Das antwortende Perlscript was nicht läuft:
====================================
#!\wampp2\perl\bin\perl.exe
$daten=<STDIN>;
print "Content-type: text/html\n\n";
print '<html>';
print '<head>';
print '<title>AntwortSeite</Title>';
print '</head>';
print '<body>';
print '<HR>';
print "Eingabe war : $daten";
print '<hr>';
print '</body>';
print '</html>';
=====================================
Ich hoffe sehr das ihr mir helfen könnt .
DAnke im Vorraus schonmal.
Graetings
Micha[/quote]