Shadowcrow: Netter Mensch gesucht

Beitrag lesen

hi $name,

Hellihello Shadowcrow,

reels4actors.de/self.zip

Warum postest Du nicht Auszüge?

weil ich, ehrlich gesagt das ganze über drei dateien verstreut habe, und es für mich nich möglich ist das unwichtige vom wichtigen zu trennen:

warnung - ab hier wirds lang:

meine confog.php:

<?php     //config.php     error_reporting(E_ALL); //*****************************************************************************************************************     if (array_key_exists('REQUEST_URI', $_SERVER)) {          $pfad        = $_SERVER['REQUEST_URI'];          $pfad        = strip_tags($pfad);  //entfernt html und php tags          $pfad        = strtolower($pfad);          $path_parts  = pathinfo($pfad);          $request_uri = $pfad;          $mainPath    = "/area51/";          $mpLength    = strlen( $mainPath  );          $url         = substr ($request_uri , $mpLength );   // kürzt die pfadangabe auf das wesentliche          $url         = strtolower($url);      // wandelt die pfad angabe in kleinbuchstaben um          $url         = rtrim($url, "/");      // entfernt aus der pfadangabe slashes          //echo "<br /> Die Variable "request_uri" ist gesetzt und hat den Wert "$request_uri"";          //echo "<br /> Die Variable "pfad" ist gesetzt und hat den Wert "$pfad"";          //echo "<br /> Die Variable "url" ist gesetzt und hat den Wert "$url""; }        //else echo '<br /> Die Variable "$pfad" ist nicht gesetzt'; //*****************************************************************************************************************     if (array_key_exists('inhalt', $_GET)) {          $inhalt      = $_GET['inhalt'];          $inhalt      = strip_tags($inhalt);  //entfernt html und php tags          //echo "<br /> Die Variable "inhalt" ist gesetzt und hat den Wert "$inhalt""; }   else          $inhalt      = 'fubar'; //echo "<br /> Die Variable "inhalt" ist gesetzt und hat den Wert "$inhalt""; //***************************************************************************************************************** $home      = 'http://benedikt-crisand.de/area51/home.php'; $news      = 'http://benedikt-crisand.de/area51/home.php?inhalt=News'; $kontakt   = 'http://benedikt-crisand.de/area51/home.php?inhalt=Kontakt'; $guestbook = 'http://benedikt-crisand.de/area51/home.php?inhalt=guestbook'; //***************************************************************************************************************** if (array_key_exists('extension', $path_parts)) {          $ext      = $path_parts['extension'];          $ext      = strip_tags($inhalt);  //entfernt html und php tags          //echo "<br /> Die Variable "ext" ist gesetzt und hat den Wert "$ext""; }   else          $ext      = 'snafu';


meine index.php:


<?php           include("includes/config.php"); if ($url == "home") {            header ("Location: $home");            } elseif ($url == "news") {              header ("Location: $news");              } elseif ($url == "kontakt") {              header ("Location: $kontakt");            } elseif ($url == "guestbook") {              header ("Location: $guestbook");            } ?> <!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>       <?php           switch ($pfad) {       case "/area51/":             echo 'Benedikt Crisand';                          break 1;       case "/area51/index.php":            echo 'Benedikt Crisand';                          break 1;       default:                          echo 'ERROR 404 - Datei nicht gefunden :-(';                          break 1;  }     ?>     </title>     <link rel="stylesheet" href="style_sheets/main.css" type="text/css" media="screen" />   </head>   <body>   <?php           switch ($pfad) {       case "/area51/":             //echo "<br> aufgerufen wurde: $pfad";                          echo '<p>&nbsp;</p><p>&nbsp;</p>';                          break 1;       case "/area51/index.php":            //echo "<br> aufgerufen wurde: $pfad";                          echo '<p>&nbsp;</p><p>&nbsp;</p>';                          break 1;       default:                          (include("includes/404.inc"));                           if ($ext == 'jpg') {                              //echo "$pic";                              echo "<br /><div align="center">Das gesuchte Bild konnte unter der URL:<br /><b>"http://benedikt-crisand.de$pfad"</b><br />leider nicht gefunden werden. <a href="area51/home.php">Zur Bilder&uuml;bersicht</a></div><p>&nbsp;</p>";                              } elseif ($ext == 'html') {                              echo "<br />Die gesuchte Datei konnte unter der URL:<br /><b>"http://benedikt-crisand.de$pfad"</b><br />leider nicht gefunden werden.<p>&nbsp;</p>";                              } else echo "<br />Die gesuchte Datei konnte unter der URL:<br /><b>"http://benedikt-crisand.de$pfad"</b><br />leider nicht gefunden werden.<p>&nbsp;</p>";                          break 1;                          }     ?>     <table width="970" align="center" cellpadding="0" cellspacing="0" class="c1">       <tr>         <td>           <div class="c1">             <a href="home.php" title="ENTER"><img src="pics/bc_intro.jpg" width="970" height="450"             border="0" title="ENTER" alt="ENTER" /></a>           </div>         </td>       </tr>     </table>     <table width="100" border="0" cellspacing="2" cellpadding="2">       <tr>         <td>           <p>             <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://benedikt-crisand.de/area51/"             target="_blank"><img src="pics/valid-css2-blue.png" alt="Valid CSS!"  style="border:0;color=red;width:88px;height:31px"             class="c3" /></a>           </p>         </td>         <td>             <a href="http://validator.w3.org/check?uri=http%3A//benedikt-crisand.de/area51/" target=             "_blank"><img src="pics/valid-xhtml10-blue.png" alt="Valid XHTML 1.0" width="88" height="31" border="0"             class="c3" /></a>         </td>       </tr>     </table>     <div class="c5">       <a href="http://benedikt-crisand.de/area51/favour.php">luck-judicious</a>     </div>   </body> </html>


und die home.php:


<?php           include("includes/config.php"); ?> <!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>Benedikt Crisand     <?php           if ($inhalt == 'guestbook') {                 echo "G&auml;stebuch";               } elseif ($inhalt == "") {                 echo 'Home';               } else echo $inhalt;     ?>     </title>     <script type="text/javascript" src="thickbox/jquery-latest.js"></script>     <script type="text/javascript" src="thickbox/thickbox.js"></script>     <link rel="shortcut icon" href="favicon.ico" />     <link rel="stylesheet" href="style_sheets/main.css" type="text/css" media="screen" />     <link rel="stylesheet" href="thickbox/thickbox.css" type="text/css" media="screen" />     <?php           if ($inhalt == 'Kontakt') {                 echo '<link rel="stylesheet" href="style_sheets/kontakt.css" type="text/css" media="screen" /> ';               }     ?>  <base target="_blank" /> </head>   <body>     <p>       &nbsp;     </p>     <p>       &nbsp;     </p>     <table width="970" align="center" cellpadding="0" cellspacing="0" class="c3">       <tr>         <td>           <table width="970" align="center" cellpadding="0" cellspacing="0" class="c2">             <tr>               <td width="142" height="378">               <ul id="Navigation">                 <?php readfile("includes/nav2.inc"); ?>               </td>               <td width="143" height="378" valign="middle">                 <?php readfile("includes/thumbs.inc"); ?>               </td>               <td width="12" height="378">                 <img src="pics/spacer.gif" width="10" height="165" alt="" />                 <a href="http://www.rt-fotos.de/" >                 <img src="pics/pic_copy.jpg" alt="http://www.rt-fotos.de/" title="http://www.rt-fotos.de/" width="12" height="158" border="0" align="bottom" /></a>               </td>               <td width="655" height="378">               <!--content anzeige-->               <?php               switch ($inhalt) {       case "Home":             include("includes/home.inc");                          break 1;       case "News":            include("includes/news.inc");                          break 1;                  case "Kontakt":            include("includes/kontakt.inc");                          break 1;       case "guestbook":            include("includes/guestbook.inc");                          break 1;       default:                          include ("includes/home.inc");                          break 1;  }             ?>                </td>             </tr>             <tr>               <td height="64">               <!--                 <div class="c2">                   <a href="http://www.set-agentur.de/benedikt_crisand.htm" target="_blank">                   <img src="pics/set-a.gif" alt="Set Agentur" width="141" height="51" border="0" align="middle" /></a>                 </div>                 -->               </td>               <td height="64" colspan="2">                 <div class="c1">                   <a href="vita_b_crisand.pdf"  >                   <img src="pics/pdf_down.jpg" alt="" width="100" height="60" border="0" /></a>                 </div>               </td>               <td height="64">               </td>             </tr>           </table>         </td>       </tr>     </table>     <table width="100" border="0" cellspacing="2" cellpadding="2">       <tr>       <td>           <p>             <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://benedikt-crisand.de/area51/">             <img src="pics/valid-css2-blue.png" alt="Valid CSS!" width="88" height="31" border="0"             class="c3" /></a>           </p>         </td>         <td>            <a href="http://validator.w3.org/check?uri=http%3A//benedikt-crisand.de/area51/home.php?inhalt=<?php echo $inhalt; ?>">            <img src="pics/valid-xhtml10-blue.png" alt="Valid XHTML 1.0" width="88" height="31" border="0"             class="c3" /></a>         </td>       </tr>     </table>     <div class="c5">       <a href="http://benedikt-crisand.de/area51/favour.php">luck-judicious</a>     </div>   </body> </html>


falls sich jemand bis hierher "durchgekämpft" hat, danke

gruss shadow

--
If there's anything more important than my ego around, I want it caught and shot, now.