MySQL 4.0.21-debug-log

Katzehuhn

Erfahrenes Mitglied
Welcome to phpMyAdmin 2.6.0-pl1

MySQL 4.0.21-debug-log running on localhost as root@localhost


Mir is grad an scheinend die Datenbank oder der Server abgekratzt, ich hab absolut keine Ahung woran das liegt, könnte sich einer vl. mir annehmen u versuchen das Problem zu lösen!? bitte
 
ich poste ma das script

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<?php

if ($user['name'] != "Admin") {
echo '<body bgcolor="#000000" background="bilder/hintergrund.gif">';
}else{
echo '<body bgcolor="#000000" background="bilder/hintergrund2.gif">';
}

echo '<div id="Layer1" style="position:absolute; left:2px; top:151px; width:168px; height:694px; z-index:1; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;">';

echo'<p>&nbsp;</p>';
echo'<table width="98%" height="306">';


if ($site != "home") {
echo '<tr><td height="49"><a href="index.php?site=home"><img src="bilder/home1.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}else{
echo '<tr><td height="49"><a href="index.php?site=home"><img src="bilder/home2.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}
if ($user['name'] == "") {
if ($site != "login") {
echo '<td height="49"><a href="index.php?site=login"><img src="bilder/login.GIF" width="160" height="45" border="0"></a></td></tr>';
}else{
echo '<td height="49"><a href="index.php?site=login"><img src="bilder/login2.GIF" width="160" height="45" border="0"></a></td></tr>';
}
}else{
echo '<td height="49"><a href="index.php?site=logout"><img src="bilder/logout.GIF" width="160" height="45" border="0"></a></td></tr>';
}


if ($site != "gaestebuch") {
echo '<tr><td height="49"><a href="index.php?site=gaestebuch"><img src="bilder/gaestebuch.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}else{
echo '<tr><td height="49"><a href="index.php?site=gaestebuch"><img src="bilder/gaestebuch2.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}



//normale Benutzer

if($user['rang'] == 2 ){
if($site != "profilinf") {
echo '<td height="49"><a href="index.php?site=profilinf"><img src="bilder/profil.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}else{
echo '<td height="49"><a href="index.php?site=profilinf"><img src="bilder/profil2.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}
if($site != "freeware") {
echo '<td height="49"><a href="index.php?site=freeware"><img src="bilder/freeware.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}else{
echo '<td height="49"><a href="index.php?site=freeware"><img src="bilder/freeware2.GIF" width="160" height="45" border="0"></a></td></tr><tr>';
}
if($site != "ausgabe"){
echo '<td height="47"><a href="index.php?site=ausgabe"><img src="bilder/Software.GIF" width="160" height="45" border="0"></a></td></tr></table></div>';
}else{
echo '<td height="47"><a href="index.php?site=ausgabe"><img src="bilder/Software2.GIF" width="160" height="45" border="0"></a></td></tr></table></div>';
}
echo '<div id="Layer2" style="position:absolute; left:2px; top:86px; width:121px; height:37px; z-index:4"> &nbsp Name: &nbsp '.$user["name"].' </div>';
}else{
echo "</table></div>";
}
?>



<div id="Layer3" style="position:absolute; left:227px; top:216px; width:718px; height:619px; z-index:3;">

<?php
if(file_exists($site.".php")){
include($site.".php");
}else{
include ("nix.php");
}
?>
</body>

der spinnt mit mit dem $user['name'] (und mit dem $user['rang'] )herum... ich weis euch wird das nicht viel sagen nur vl bemerkt irgend jemand nen fehler in dem script bin schon am verzweiflen


EDIT kann geclosed werden... hab session_start(); am anfang vergessen^^ omg... naja wenigstens bissl was gelernt!
 
Zuletzt bearbeitet:
Zurück