Momentan hab ich zwei Problem bei dem Programm:
1. Mit <input type="text" name="eingabe" size="20"> hats geklappt ( die eingegebenen Daten wurden übernommen und ausgegeben. Jetzt wollte ich ein Textarea einbauen, aber das übergibt die Daten nicht?!?
2. Wenn ich die Map-Seite im Game ( Quelltext unten anbei ) mit alles markieren - kopieren bearbeite und dann in das Textarea einfüge sind die Daten der Karte nicht dabei. Was muß ich machen damit auch die Daten der Karte ausgelesen werden können?
Quelltexte:
Textarea-Problem
- Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>insert</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h2>Karten einfügen</h2>
<br />
<form action = "map.php" method="post">
<TEXTAREA NAME="comments" COLS=40 ROWS=6></TEXTAREA>
<INPUT TYPE="SUBMIT" VALUE="LOS">
</form>
</body>
</html>
Ausgabe:
- Code: Select all
<?php
$map=$_POST["map"];
echo("Quelltext: $map");
?>
IK-Map-Datei:
- Code: Select all
<html><head><link rel="stylesheet" type="text/css" href="map_dateien/style.css"><script type="text/javascript" src="map_dateien/lib.js"></script></head><body onload="start()"><h1>Karte</h1><hr align="left" width="420">05.10.2005 11:45:44 | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=settings">Einstellungen</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=mail&sub=invite">Einladung</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&a=logout">Abmelden</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=mail"><img src="map_dateien/m_off.gif" border="0"></a><br>Du <b>fallcon</b>, bist Herrscher über die Insel Isle of Fallcon (20:24:16)<table border="1" cellpadding="3" cellspacing="0" width="420"><tbody><tr><td width="33%"><img src="map_dateien/gold.gif"> 29214</td><td width="33%"><img src="map_dateien/stones.gif"> 38090</td><td><img src="map_dateien/wood.gif"> 22630</td></tr></tbody></table><br><table border="0" cellpadding="3" cellspacing="1" width="420"><form action="/s7.php?s=nyvo5c&p=map" method="post"></form><tbody><tr><td bgcolor="#f0f0f0"><b>Ozean: </b><input name="pos1" value="20" size="3" type="text"><b> Inselgruppe: </b><input name="pos2" value="24" size="3" type="text"><b> Spieler: </b><input size="8" name="highlight" value="" type="text"> <input value="anzeigen" type="submit"></td></tr></tbody></table><br><img src="map_dateien/s7.png" usemap="#map" border="0"><map name="map"><area shape="rect" coords="0,9,9,411" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&pos1=20&pos2=23&highlight=" title="Ozean: 20
Inselgruppe: 23"><area shape="rect" coords="411,9,420,411" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&pos1=20&pos2=25&highlight=" title="Ozean: 20
Inselgruppe: 25"><area shape="rect" coords="9,0,411,9" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&pos1=20&pos2=14&highlight=" title="Ozean: 20
Inselgruppe: 14"><area shape="rect" coords="9,411,411,420" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&pos1=20&pos2=34&highlight=" title="Ozean: 20
Inselgruppe: 34"><area shape="rect" coords="174,92,245,163" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=8" title="Insel: =20_24_8
Koordinaten: 20:24:8
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 665"><area shape="rect" coords="92,256,163,327" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=17" title="Insel: Anarchy Island
Koordinaten: 20:24:17
Herrscher: Wurstkopf
Allianz: [P|K]
Punkte: 790"><area shape="rect" coords="338,338,409,409" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=25" title="Insel: ~20_24_25
Koordinaten: 20:24:25
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 522"><area shape="rect" coords="338,10,409,81" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=5" title="Insel: #20_24_5
Koordinaten: 20:24:5
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 1066"><area shape="rect" coords="92,92,163,163" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=7" title="Insel: ~20_24_7
Koordinaten: 20:24:7
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 522"><area shape="rect" coords="256,338,327,409" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=24" title="Insel: Hawaii Pizza
Koordinaten: 20:24:24
Herrscher: Cecks
Allianz: [FoD|T]
Punkte: 1000"><area shape="rect" coords="10,256,81,327" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=16" title="Insel: Isle of Fallcon
Koordinaten: 20:24:16
Herrscher: fallcon
Allianz: [FoD²]
Punkte: 1000"><area shape="rect" coords="92,338,163,409" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=22" title="Insel: Fallconia
Koordinaten: 20:24:22
Herrscher: fallcon
Allianz: [FoD²]
Punkte: 983"><area shape="rect" coords="174,174,245,245" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=13" title="Insel: *20-24-13
Koordinaten: 20:24:13
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 638"><area shape="rect" coords="338,92,409,163" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=10" title="Insel: ~20_24_10
Koordinaten: 20:24:10
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 580"><area shape="rect" coords="256,174,327,245" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=14" title="Insel: ~20_24_14
Koordinaten: 20:24:14
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 448"><area shape="rect" coords="256,92,327,163" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=9" title="Insel: -20_24_9
Koordinaten: 20:24:9
Herrscher: ImPeRaToR_Justiziae
Allianz: [FoD-War]
Punkte: 535"><area shape="rect" coords="10,174,81,245" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=11" title="Insel: Manu Land
Koordinaten: 20:24:11
Herrscher: ManUtd1
Allianz: [didAVLN3]
Punkte: 150"><area shape="rect" coords="10,10,81,81" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=1" title="Insel: Isle of Storm
Koordinaten: 20:24:1
Herrscher: fallcon
Allianz: [FoD²]
Punkte: 815"><area shape="rect" coords="174,256,245,327" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=18" title="Insel: Hawaii Pizza2
Koordinaten: 20:24:18
Herrscher: Cecks
Allianz: [FoD|T]
Punkte: 291"><area shape="rect" coords="92,10,163,81" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=2" title="Insel: unbenannt
Koordinaten: 20:24:2
Herrscher: BladeSBK
Punkte: 1"><area shape="rect" coords="338,174,409,245" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=15" title="Insel: Drachenhort
Koordinaten: 20:24:15
Herrscher: fallcon
Allianz: [FoD²]
Punkte: 27"><area shape="rect" coords="174,10,245,81" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=3" title="Insel: unbenannt
Koordinaten: 20:24:3
Herrscher: Geister
Punkte: 2"><area shape="rect" coords="256,10,327,81" href="http://213.203.201.100/s7.php?s=nyvo5c&p=map&sub=isle&pos1=20&pos2=24&pos3=4" title="Insel: unbenannt
Koordinaten: 20:24:4
Herrscher: umbo
Punkte: 0"></map><hr align="left" width="420"><a href="http://213.203.201.100/s7.php?s=nyvo5c&p=main">Übersicht</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=alliance">Allianz</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=map">Karte</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=isles">Inseln</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=market">Markt</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=ranking">Rangliste</a> | <a href="http://213.203.201.100/s7.php?s=nyvo5c&p=calc">Rechner</a><br><br>0.014</body></html>