Per lokalem Pfad und das ist ja das strange, dass es bei einigen File sauber geht

<?php
error_reporting(E_ERROR);
//include("../../scripts_php/includes/mysqldb.php");
function news_select($menu,$anzeige){
$db = mysql_connect('127.0.0.1','temp','test');
mysql_select_db('news',$db);
$sql = "SELECT * FROM news_arr where menu='$menu' order by str";
$res_temp = mysql_query($sql,$db);
echo "<optgroup label=\"$anzeige\">";
while($erg = mysql_fetch_array($res_temp,MYSQL_ASSOC))
{
echo "<option value=\"$erg[url]\">$erg[str]</option>\r\n";
}
mysql_close($db);
}
if($_POST['news'] && $_POST['Senden'] || $_GET['src'] && count($_GET) === 1)
{
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/Transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"de\">
<head><title>TobisWorld–TobisDesignStube–Resulate</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/main.css\" />
<meta http-equiv=\"content-type\" content=\"text/html; charset=ISO-8859-1\"
/>
<script type=\"text/javascript\" src=\"../div.js\">
</script>
</head><body>
<div id=\"header\">
<div id=\"quick_menu\">
<div id=\"quick_menu_loc\">
Du bist hier:";?>
<?php
switch($_SERVER['PHP_SELF']){
case "/new/index.php":
...
?>
Kommentar