....
;;
test2)
echo '<h3>Mounten</h3>'
my $point = $cgi->param('a');
my $ip = $cgi->param('b');
my $ordner = $cgi->param('c');
my $benutzer = $cgi->param('d');
my $passwort = $cgi->param('e');
my $befehl = "mount -t cifs" + "" + "//$ip + "/" + $ordner + "" + "/media/$point" + "" + "-o username=$benutzer,password=$passwort,rsize=16384,wsize=16384";
mkdir /media/$point
$befehl
DATEI="/opt/www/cgi-bin/lastmount.txt"
echo "$befehl" > $DATEI
cat $DATEI
echo '<form method="post" action="main.cgi?test2">'
echo 'Mountpoint:<input type="text" name="a"> IP des Zeilcomputers:<input type="text" name="b">Freigabeordner des Computers:<input type="text" name="c">Benutzer:<input type="text" name="d" value="guest">Passwort:<input type="text" name="e"> <input type="submit" value="mounten">'
echo '</form>'
.....