Thilo: Upload mit type=file geht nicht

Beitrag lesen

Hallo!

Ich glaube da hat Du etwas in den flschen hals gekriegt:

<input type="file" name="knopf1" maxlength="100000">

machts nichts anderes, ich sags mal einfach, als den Dateipfad zu Senden. Bsp:

<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Datei-Form Test</title>
</head>
<body>
<form name="eform">
<input type="file" name="datei">
<input type="button" value="Ab Geht's" onClick="alert(document.eform.datei.value)">
</form>
</body>
</html>

Du brauchst ein anderes Programm, z.B. in PHP oder PERL, dazu.
Weiteres findest Du in Selfhtml unter "Perl"

Thilo