Jenny

...das personifizierte Chaos.
 

Dabei seit: 05.12.2006
Beiträge: 16.262
Herkunft: Niedersachsen
 |
|
Hi.
Ich habe schon wieder ein Problem, diesmal mit dem LogIn.
formular.html
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
|
<html>
<head>
<title>Privatstall Yamaro</title>
<link rel="stylesheet" href="style.css">
</head>
<body style="background-image:url(http://tstannenheide.ts.ohost.de/Yamaro/Schnitt2.png)">
<div style="position: absolute; left: 0px; top: 0px;">
<img src="http://tstannenheide.ts.ohost.de/Yamaro/Schritt5.png" border="0">
</div>
<div style="position: absolute; left: 390px; top: 370px; width: 430px;">
<h1>Memberlogin</h1>
<DIV align=center>
<CENTER>
<form action="login.php" method="post">
<TABLE style="BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-BOTTOM: #000000 1px dashed" height=76 width="90%" border=0>
<TBODY>
<TR>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="100%" bgColor=#717E8C colSpan=2 height=15><b>Real</b></TD></TR>
<TR>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="25%" bgColor=#D2D8E4 height=15>Name</TD>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="25%" bgColor=#D2D8E4 height=15><input type="text" name="username" size="20"></TD></TR>
<TR>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="25%" bgColor=#D2D8E4 height=15>Passwort</TD>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="25%" bgColor=#D2D8E4 height=15><input type="password" name="passwort" size="20"></TD></TR>
<TR>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="25%" bgColor=#D2D8E4 height=15><input type="submit" value="LogIn" name="B1"></TD>
<TD style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" align=middle width="25%" bgColor=#D2D8E4 height=15><input type="reset" value="Löschen" name="B2"></TD></TR>
</TBODY></TABLE></FORM></CENTER></DIV>
</div>
<div style="position: absolute; left: 205px; top: 370px; width: 160px;">
<iframe style="height: 900px; width: 160px;" src="http://tstannenheide.ts.ohost.de/Yamaro/Menu.html" name="Menu" frameborder="0" style="FILTER: chroma (color=#ffffff)" ;></iframe>
</div>
</body>
</html> |
|
login.php
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
|
<html>
<head>
<title>Privatstall Yamaro</title>
<link rel="stylesheet" href="style.css">
</head>
<body style="background-image:url(http://tstannenheide.ts.ohost.de/Yamaro/Schnitt2.png)">
<div style="position: absolute; left: 0px; top: 0px;">
<img src="http://tstannenheide.ts.ohost.de/Yamaro/Schritt5.png" border="0">
</div>
<div style="position: absolute; left: 390px; top: 370px; width: 430px;">
<h1>Einsteller</h1>
<?php
$username = $_POST["username"];
$password = $_POST["passwort"];
if( ($username=="Jenny" AND $password=="pony99")
OR
($username=="Jury" AND $password=="gegenbilderklau")
OR
($username=="Freund" AND $password=="feind")
OR
($username=="Liesa" AND $password=="tom") )
{
echo "Du wurdest erfolgreich eigeloggt. Klicke <script LANGUAGE="JavaScript">
function eKiwi() {
fenster = window.open("http://tstannenheide.ts.ohost.de/Yamaro/Intern","PopUp","width=700 ,height=600 ,menubar=no,toolbar=no,scrollbars=no,status=no,resizable=no,location=no,hotkeys=no")}
</script>
</head>
<body>
<a href="JavaScript:eKiwi()">hier</a> um in den internen Breich zu gelangen.";
}
else
{
echo "LogIn gescheitert!";
}
?>
</div>
<div style="position: absolute; left: 205px; top: 370px; width: 160px;">
<iframe style="height: 900px; width: 160px;" src="http://tstannenheide.ts.ohost.de/Yamaro/Menu.html" name="Menu" frameborder="0" style="FILTER: chroma (color=#ffffff)" ;></iframe>
</div>
</body>
</html> |
|
Wo liegt hier der Fehler?
LG
Jenny
__________________
Du spielst, Du gewinnst, nur um zu verlieren - dabei fühlt sich fallen fast wie fliegen an.
Liebste Grüße an -Kiwi-, .Polarlicht, simply-helen, Alessa, Alex_94, Vicky, NemoO, Nicki2110, Michi264, Osirii, Darling[/FONT]
|
|
16.01.2008 20:35 |
|
|
Jenny

...das personifizierte Chaos.
 

Dabei seit: 05.12.2006
Beiträge: 16.262
Herkunft: Niedersachsen
Themenstarter
 |
|
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /usr/export/www/hosting/tstannenheide/Yamaro/LogIn/login.php on line 26
hmm
__________________
Du spielst, Du gewinnst, nur um zu verlieren - dabei fühlt sich fallen fast wie fliegen an.
Liebste Grüße an -Kiwi-, .Polarlicht, simply-helen, Alessa, Alex_94, Vicky, NemoO, Nicki2110, Michi264, Osirii, Darling[/FONT]
|
|
16.01.2008 21:11 |
|
|
Verena1993

Mitglied
 

Dabei seit: 06.09.2006
Beiträge: 1.242
 |
|
|
16.01.2008 21:18 |
|
|
Maina

Pseudomitglied
 
Dabei seit: 20.04.2006
Beiträge: 7.655
Herkunft: Kreuzberg
 |
|
Was bezweckst du mit
function eKiwi() ?
Außerdem wärs leichter zu überschauen, wenn du deinen PHP Code zwischen [ php ] und [ / php ] (ohne leerzeichen) packst x)
|
|
16.01.2008 21:34 |
|
|
Impressum
|
|