Hilfe!!!!! Server meldet Zugriff verweigert...! AHR!!!

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • #16
    jou,,.,

    so sieht die fehler meldung aus:



    http://jigger.homeip.net/site/flashgames/index.php



    Parse error: parse error, unexpected $ in D:\html\site\flashgames\index.php on line 73


    und in zeile 73 steht: </html>

    sofern ich die zeile lösche ist die nächt höhere zeile der fehler...






    Kommentar


    • #17
      Original geschrieben von sagg
      Ich schätze einfach mal es ist ein Parse-error, das eine Klammer fehlt.
      Demzufolge mal alle Klammern nachzählen und ggf. korrigieren.
      mfg - sagg

      Kommentar


      • #18
        Sorry erstmal für meine Ausdrucksweise von vorhin. Aber die Links sahen echt nicht brauchbar aus.
        Zum Thema:
        Wo ist die schliessende Klammer für deine while-Schleife ? Die fehlt und wird auch durch den Parser angemotzt.

        Gruss + sorry für den Ausdruck vorhin

        tobi
        Gutes Tutorial | PHP Manual | MySql Manual | PHP FAQ | Apache | Suchfunktion für eigene Seiten

        [color=red]"An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it."[/color]
        Mohandas Karamchand Gandhi (Mahatma Gandhi) (Source)

        Kommentar


        • #19
          Ach, machtr nix, bin heut selber völlig dumm und raffe nix... "G"


          den klammer fehler habe ich jetzt behoben, aber es funzt irgend wie nicht mehr "fg"


          http://jigger.homeip.net/site/flashgames/index.php

          Kommentar


          • #20
            Na dann überleg mal was an der Variable $new_handle nicht stimmen kann.
            mfg - sagg

            Kommentar


            • #21
              ahhhhhhhhh! geile sache...


              Thx euch allen!!


              habe noch was rumgefummelt und es hinbekommen...!



              so sieht der code jetzt aus:



              -----------------------------------------------------------------------------------------
              <?php
              # Verzeichnis-Handle
              $dir = "d:/html/site/flashgames/flash";
              $root_dir = opendir($dir);
              ?>

              <html>
              <head>
              <title>FlashGames</title>
              <style type="text/css">

              body {
              font-family : Verdana;
              font-size : 8pt;
              background-color : #87A7BE;
              color : #000080;
              }

              table {
              background-color : #000080;
              border : 1px solid #000080;
              }

              td {
              background-color : #ADD8E6;
              font-size : 8pt;
              }

              a {
              color : #000080;
              text-decoration : none;
              }


              a:link {
              color : #000080;
              text-decoration : none;
              }

              a:hover {
              color : #3366FF;
              text-decoration : none;
              }

              </style>
              <base target="_self">
              </head>
              <body style="background-color: #9BBBDA">
              <p>
              <b><font style="color : red">Wichtig:</font></b><br>Ihr benötigt das Macromedia Flash-Plugin um die Spiele spielen zu können.
              <blockquote>--> <a href="http://www.macromedia.com/software/flashplayer/">Download Flash Plugin</a>
              </blockquote>
              </p>
              <table width="80%" align="center" cellpadding="3" cellspacing="1">
              <?php
              while($filename = readdir($root_dir)){
              if(($filename!=".") && ($filename!="..")) {
              if(is_dir($dir . "/" . $filename)) {
              print "<tr><td colspan=\"2\"><b>".$filename."</td></tr>";
              $new_dir = $dir . "/" . $filename;
              $new_dir_handle = opendir($new_dir);
              while($new_handle = readdir($new_dir_handle)) {
              if(($new_handle!=".") && ($new_handle!="..")) {
              print "<tr>\n<td><a href=\"flash/".$filename."/".$new_handle."\">".$new_handle."</a></td>\n<td align=\"right\">".round((filesize($dir . "/" . $filename . "/" . $new_handle)/1000),2) ." KB</td>\n</tr>\n";
              }
              }
              }
              }
              }
              ?>
              </table>

              </body>
              </html>
              --------------------------------------------------------------------------------------



              Thx...!





              Könnt ja mal wenn ihr Lust habt nen paar games anzocken...

              www.wuppertaleralbum.de

              Kommentar

              Lädt...
              X