Hallo ich will auf die Homepage ein Pranger.php rein hauen aber sobald der drine ist kommt der fehler bei mir an hab auch denn ein behfel für Navicat eingeben für mysql da und trozdem kommt der fehler was muss ich machen das es geht ??? der fehler code ist das hier
Warning: require() [function.require]: open_basedir restriction in effect. File(../inc/config.inc.php) is not within the allowed path(s): (/users/deliciouse2/temp:/users/deliciouse2/www) in /users/deliciouse2/www/Pranger.php on line 7 |
Warning: require(../inc/config.inc.php) [function.require]: failed to open stream: Operation not permitted in /users/deliciouse2/www/Pranger.php on line 7 |
Fatal error: require() [function.require]: Failed opening required '../inc/config.inc.php' (include_path='.') in /users/deliciouse2/www/Pranger.php on line 7 |
und der code von Pranger.php sicht soo aus
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<title>Unbenanntes Dokument</title> |
<?php |
require("../inc/config.inc.php"); |
$sql = "SELECT * FROM account.bans WHERE SERVER = '".mysql_real_escape_string($_POST['server'])."';"; |
$res = mysql_query($sql) |
?> |
</head> |
<body> |
<table width="100%" border="1"> |
<tr> |
<th scope="col">Account Name</th> |
<th scope="col">Grund des Bans</th> |
<th scope="col">Server</th> |
<th scope="col">Dauer des Bans</th> |
</tr> |
<?php |
while($bans = mysql_fetch_object($res)){ |
echo '<tr> |
<td>'.$bans->Account_Name.'</td> |
<td>'.$bans->Grund.'</td> |
<td>'.$bans->server.'</td> |
<td>'.$bans->Dauer.'</td> |
</tr>'; |
} |
?> |
</table> |
</body> |
</html> |