[PHP & MySQL] Problemchen mit Php-Loginsystem

Pferdemaedel
Tja....ich hab gebastelt und gebastelt, alles hat funktioniert, dann hab ich nochmal was geändert und plötzlich funktionierte jetzt nichts mehr...

Also, hier ist mein LogIn-Fenster: x
LogIn-Daten: Bn: Leo Pw: test

Da erscheint gleich eine Fehlermeldung:
Zitat:

Parse error: syntax error, unexpected T_INCLUDE in /usr/export/www/hosting/liliental2/ts/Loginsystem/intern.php on line 6


Ich hab also mal im intern.php geguckt....
php:
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:
<? 
@session_start();
$uname = $_SESSION["user_name"];
$pferd1 = $_SESSION["user_pferd1"];
$pferd2 = $_SESSION["user_pferd2"]
include "checkuser.php";
// Code by Unicorn, darf beliebig verändert werden
?>

<html>
<head>
<title>Interner Bereich - Turnierstall Liliental</title>
<BODY marginwidth="0" leftmargin="0" marginheight="0" topmargin="0" scroll="no">
<img src="layout.png">
<div id="Layer1" style="position: absolute;  left: 4px; top: 231px;">
  <iframe src="main.php" name="main" width="582" height="360" frameborder=0 scrolling="auto" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>

<div id="Layer2" style="position: absolute;  left: 0px; top: 194px;">
  <iframe src="horizontales_menue.php" name="menue" width="798" height="29" frameborder=0 scrolling="no" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>

<div id="Layer3" style="position: absolute;  left: 602px; top: 231px;">
  <iframe src="rechter_frame.php" name="rechts" width="191" height="363" frameborder=0 scrolling="no" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>
</body>
</html>


Ich weiß aber jetzt nicht was falsch ist....Kann mir vielleicht jemand helfen?
Wäre echt super lieb. lg
pferdepixx
bist du dir sicher, dass mit der datei checkuser alles oke ist, vielleicht stellst du die nochmal mit rein Augenzwinkern
pferdepixx
Zitat:
Original von ANGEL_05
Zitat:
Original von pferdepixx
bist du dir sicher, dass mit der datei checkuser alles oke ist, vielleicht stellst du die nochmal mit rein Augenzwinkern

Ist sie überhaupt vorhanden und im richtigen Ordner?


oder so, weil der sagt etwas mit dem icnclude, und ich glaube daran liegts
Pferdemaedel
php:
1:
2:
3:
4:
<?if($uname=="")
{
header ("location: formular.htm");
}?>


Das steht im checkuser.php und ja das ist auch im richtigen Ordner....
janinchen
Du hast ein ; vergessen vorm include. So müssts gehen:

php:
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:
<? 
@session_start();
$uname = $_SESSION["user_name"];
$pferd1 = $_SESSION["user_pferd1"];
$pferd2 = $_SESSION["user_pferd2"];
include "checkuser.php";
// Code by Unicorn, darf beliebig verändert werden
?>

<html>
<head>
<title>Interner Bereich - Turnierstall Liliental</title>
<BODY marginwidth="0" leftmargin="0" marginheight="0" topmargin="0" scroll="no">
<img src="layout.png">
<div id="Layer1" style="position: absolute;  left: 4px; top: 231px;">
  <iframe src="main.php" name="main" width="582" height="360" frameborder=0 scrolling="auto" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>

<div id="Layer2" style="position: absolute;  left: 0px; top: 194px;">
  <iframe src="horizontales_menue.php" name="menue" width="798" height="29" frameborder=0 scrolling="no" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>

<div id="Layer3" style="position: absolute;  left: 602px; top: 231px;">
  <iframe src="rechter_frame.php" name="rechts" width="191" height="363" frameborder=0 scrolling="no" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>
</body>
</html>
Pferdemaedel
Vielen Dank! Super es geht wieder...