Admin Bereich

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Admin Bereich

    Hallo !

    Habe mir ein php Gästebuch installiert. Einen eigenen Adminbereich wo ich die Daten bearbeiten kann.

    Um den Adminbereich zu schützen habe ich mir eine Passwortabfrage erstellt. Wenn ich auf den Admin klicke kommt eine Aufforderung zur Benutzername und Passwort Eingabe. Nach dreimaliger Eingabe komme ich wirder zum Gästebuch zurück und nicht in den Admin Bereich.

    // Administration
    [COLOR=#800000][COLOR=#800000]$DisableAuth [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]false[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];
    [/COLOR]
    [/COLOR]
    [COLOR=#800000][COLOR=#800000]$AdminLogin [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]"admin"[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];[/COLOR][/COLOR][COLOR=#007f00][COLOR=#007f00]!
    [/COLOR]
    [/COLOR]
    [COLOR=#800000][COLOR=#800000]$AdminPasswd [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]"password"
    [/COLOR]
    [/COLOR]
    Last edited by ranger; 26-07-2009, 12:57.

  • #2


    Peter
    Nukular, das Wort ist N-u-k-u-l-a-r (Homer Simpson)
    Meine Seite

    Comment


    • #3
      Peter will damit sagen, dass wir mit deinen Informationen leider absolut keine Hilfestellung leisten können. Ein bisschen mehr Code wäre schon nötig. Oder der Name des Scriptes, dass du einsetzt!
      [FONT="Helvetica"]twitter.com/unset[/FONT]

      Shitstorm Podcast – Wöchentliches Auskotzen

      Comment


      • #4
        Hallo !

        Habe folgenden Code geschrieben !

        // Administration
        [COLOR=#800000][COLOR=#800000]$DisableAuth [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]false[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];
        [/COLOR]
        [/COLOR]
        [COLOR=#800000][COLOR=#800000]$AdminLogin [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]"admin"[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];[/COLOR][/COLOR]
        [COLOR=#800000][COLOR=#800000]$AdminPasswd [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]"password"[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];[/COLOR][/COLOR]
        [COLOR=#ff0000][COLOR=#ff0000][/COLOR][/COLOR]
        [COLOR=#ff0000][COLOR=#ff0000]Könnt Ihr damit etwas anfangen. Habe auch die Internet Einstellungen auf Abfrage des Benutzernamen und Passwort eingestellt. Muß ich vielleich der Datei Rechte zB. 660 vergeben.[/COLOR][/COLOR]
        [COLOR=#ff0000][COLOR=#ff0000][/COLOR][/COLOR]
        [COLOR=#ff0000][COLOR=#ff0000]Danke
        [/COLOR]
        [/COLOR]

        Comment


        • #5
          Originally posted by ranger View Post
          // Administration
          [COLOR=#800000][COLOR=#800000]$DisableAuth [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]false[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];
          [/COLOR]
          [/COLOR]
          [COLOR=#800000][COLOR=#800000]$AdminLogin [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]"admin"[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];[/COLOR][/COLOR]
          [COLOR=#800000][COLOR=#800000]$AdminPasswd [/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]= [/COLOR][/COLOR][COLOR=#0000f0][COLOR=#0000f0]"password"[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000];[/COLOR][/COLOR]

          [COLOR=#ff0000][COLOR=#ff0000]Könnt Ihr damit etwas anfangen.[/COLOR][/COLOR][COLOR=#ff0000][COLOR=#ff0000]
          [/COLOR]
          [/COLOR]
          Kurz gesagt: überhaupt nicht.

          Stell dir vor, du wärst ein Computer. Jemand sagt dir "DisableAuth trifft nicht zu, AdminLogin heißt admin und AdminPasswd heißt password". Dann sagst du "OK, hab ich notiert". Jetzt sagt der andere aber sonst nichts mehr und du weißt nicht, was du machen sollst und er wundert sich, dass du nichts machst.
          [COLOR="DarkSlateGray"]Hast du die [COLOR="DarkSlateGray"]Grundlagen zur Fehlersuche[/color] gelesen? Hast du Code-Tags benutzt?
          Hast du als URL oder Domain-Beispiele example.com, example.net oder example.org benutzt?
          Super, danke!
          [/COLOR]

          Comment

          Working...
          X