Ankündigung

Einklappen
Keine Ankündigung bisher.

Captcha Registrations system *HILFE*

Einklappen

Neue Werbung 2019

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

  • Captcha Registrations system *HILFE*

    Hallo liebe Community!
    Ich habe ein Problem und zwar hab ich ein Captcha Registrationssystem geschrieben (den Captcha nicht) und ja und möchte fragen ob ihr drauf kommt warum der net funktioniert
    index.php
    PHP-Code:
    <?php
    session_start
    ();

    function 
    validateCaptcha() {
        try {
            require_once(
    'captcha/Captcha.php');
            
    // was there a response?
            
    if (!isset($_POST["captcha"])) {
                throw new 
    Exception("no captcha supplied");
            }

            
    Captcha::validate($_POST["captcha"]);
        } catch(
    Exception $e) {
            return 
    false;
        }
        return 
    true;
    }
    ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="de"><head> 
        <title>Captcha mit PHP</title> 
        
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    </head>
    <?php
    require_once("connect.php");
    ?> 
    <body>

    <?php
    if($_POST) {
        if(
    validateCaptcha()) {
            
            echo 
    'Benutzer "'.htmlentities($_POST['username']).'" erfolgreich angelegt.';
            exit;
        } else {
            echo 
    'Captcha ungültig.';
        }
    }
    ?>

    <form method="post" action="captcha/index.php" name="registerform">
        <fieldset>
            <legend>Sicheres Formular</legend>
            
    <?php
         
    if(!isset($_GET["page"])) {
    ?>        
            <table>
                <tr>
                    <td>Benutzername:</td>
                    <td><input type="text" name="login" /></td>
                </tr>
                <tr>
                    <td>Realname:</td>
                    <td><input type="text" name="realname" /></td>
                </tr>
                <tr>
                    <td>Passwort:</td>
                    <td><input type="password" name="password" /></td>
                </tr>
                <tr>
                    <td>Passwort wiederholen:</td>
                    <td><input type="password" name="password2" /></td>
                </tr>
                <tr>
                    <td>E-Mail:</td>
                    <td><input type="text" name="email" /></td>
                </tr>
                <tr>
                    <td>Sicherheitsfrage:</td>
                    <td><img src="captchaimage.php" alt="" /><br/>
                    <input type="text" name="captcha" /></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" value="Senden" /></td>
                </tr>
            </table>
    <?php 
    }
    ?>
    <?php
          
    if(isset($_GET["page"])) {
          if(
    $_GET["page"] == "2") {
          
    $login strtolower($_POST["login"]);
          
    $realname = ($_POST["realname"]);
          
    $password md5($_POST["password"]);
          
    $password2 md5($_POST["password2"]);
          
    $email = ($_POST['email']);
        
           if(empty(
    $login) or empty($realname) or empty($email) or empty($password) or empty($password2))

           
           
           {

    echo 
    "Bitte alle Felder ausfüllen!";
    }
    else
    {
    mysql_query("INSERT INTO account (id, login, password, realname, email) VALUES ('', '$login', '$password', '$realname', '$email'") or die (mysql_error());
    }
        if(
    $password != $password2) {
            echo (
    "Deine Eingabe stimmt nicht überein. Bitte wiederhole deine Eingabe!<a href=\"captcha\index.php\">zurück<a/>");
            }
    ?>
        <fieldset />
    </form>

    </body> 
    </html>
    captchaimage.php
    PHP-Code:
    <?php
    session_start
    ();

    require_once(
    dirname(__FILE__).'/captcha/Captcha.php');

    // send header
    header("Content-type: image/png");

    $captchaString Captcha::create();

    // show image
    $image = new CaptchaImage($captchaString);
    captchaImage.php !ACHTUNG! Das "i" ist groschgeschrieben " I "
    PHP-Code:
    <?php

    // define default values
    if (!defined('CAPTCHA_RANDOM_FONT_SIZE')) define('CAPTCHA_RANDOM_FONT_SIZE'false);
    if (!
    defined('CAPTCHA_RANDOM_FONT_FACE')) define('CAPTCHA_RANDOM_FONT_FACE'true);
    if (!
    defined('CAPTCHA_RANDOM_BACKGROUND')) define('CAPTCHA_RANDOM_BACKGROUND'true);
    if (!
    defined('CAPTCHA_RANDOM_FONT_COLOR')) define('CAPTCHA_RANDOM_FONT_COLOR'true);
    if (!
    defined('CAPTCHA_FONT_MORPH')) define('CAPTCHA_FONT_MORPH'true);
    if (!
    defined('CAPTCHA_RANDOM_LINES')) define('CAPTCHA_RANDOM_LINES'false);

    /**
     * Generates the captcha image.
     */
    class CaptchaImage {
        
    /**
         * rgb default.
         * 
         * @var    array<string>
         */
        
    protected $rgb = array('red''green''blue');
        
        
    /**
         * char images
         * 
         * @var    resource 
         */
        
    protected $chars;
        
        
    /**
         * image width
         * 
         * @var    integer
         */
        
    protected $captchaWidth;
        
        
    /**
         * image height
         * 
         * @var    integer
         */
        
    protected $captchaHeight;
        
        
    /**
         * color gradient
         * 
         * @var    array
         */
        
    protected $gradient;
        
        
    /**
         * color gradient border
         * 
         * @var    integer
         */
        
    protected $gradientBorder;
        
        
    /**
         * font size
         * 
         * @var    integer
         */
        
    protected $fontSize;
        
        
    /**
         * path to true type font file.
         * 
         * @var    string
         */
        
    protected $fontFace;
        
        
    /**
         * captcha code word
         * 
         * @var    string
         */
        
    protected $codeWord;
        
        
    /**
         * background color one
         * 
         * @var    array<integer>
         */
        
    protected $color1;
        
        
    /**
         * background color two
         * 
         * @var    array<integer>
         */
        
    protected $color2;
        
        
    /**
         * font color (rgb)
         * 
         * @var    array<integer>
         */
        
    protected $fontColor;
        
        
    /**
         * char width
         * 
         * @var    array<integer>
         */
        
    protected $charWidth;
        
        
    /**
         * number of lines.
         * 
         * @var integer
         */
        
    protected $lines 0;
        
        
    /**
         * Creates a new CaptchaImage object.
         * 
         * @param    string        $code        captcha string
         */
        
    public function __construct($code) {
            
    // set background colors
            
    $this->setBackgroundColors();
            
            
    // set code
            
    $this->codeWord $code;    
                    
            
    // set font size 
            
    $this->setFontSize();
            
            
    // set font face
            
    $this->setFontFace();
            
            
    // set background options
            
    if (CAPTCHA_RANDOM_BACKGROUND) {
                
    $this->elements    mt_rand(25);
                
    $this->setGradientInfo();
            }
            
            
    // set font color
            
    if (CAPTCHA_RANDOM_FONT_COLOR) {
                if (
    CAPTCHA_RANDOM_BACKGROUND) {
                    
    $this->setFontColor();
                }
                else {
                    
    $this->fontColor = array('red' => mt_rand(0255), 'green' => mt_rand(0255), 'blue' => mt_rand(0255));
                }
            }
            else {
                
    $this->fontColor = array('red' => 2'green' => 2'blue' => 2);
            }

            
    // set random lines
            
    if (CAPTCHA_RANDOM_LINES) {
                
    $this->lines mt_rand(110);
            }
            
            
    // set default captcha size
            
    $this->captchaWidth    0;
            
    $this->captchaHeight     120;
            
            
            
    $this->createCharImages();
            
    $this->createImage();
        }
        
        
    /**
         * Sets the background colors.
         */
        
    protected function setBackgroundColors() {
            
    $this->color1 = array('red' => mt_rand(0255), 'green' => mt_rand(0255), 'blue' => mt_rand(0255));
            
    $this->color2 = array('red' => mt_rand(0255), 'green' => mt_rand(0255), 'blue' => mt_rand(0255));
        }
        
        
    /**
         * Sets the font size.
         */
        
    protected function setFontSize() {
            if (
    CAPTCHA_RANDOM_FONT_SIZE$this->fontSize mt_rand(1428);
            else 
    $this->fontSize 22;
        }
        
        
    /**
         * Sets the font face.
         * Reads all fonts from 'fonts' folder.
         */
        
    protected function setFontFace() {
            
    $fontFaces =  glob(dirname(__FILE__).'/fonts/*.ttf');
            if (
    CAPTCHA_RANDOM_FONT_FACE) {
                
    $n mt_rand(0count($fontFaces) - 1);
                
    $this->fontFace $fontFaces[$n];
            }
            else 
    $this->fontFace $fontFaces[0];
        }
        
        
    /**
         * Creates a gradient between the 2 generated colors for image background.
         */
        
    protected function setGradientInfo() {
            
    $this->gradient = array('red' => array(), 'green' => array(), 'blue' => array());
            
            for (
    $i 0$i 3$i++) {
                
    $this->gradient[$this->rgb[$i]]['interval'] = abs($this->color1[$this->rgb[$i]] - $this->color2[$this->rgb[$i]]);
                
                if (
    $this->color1[$this->rgb[$i]] <= $this->color2[$this->rgb[$i]]) $this->gradient[$this->rgb[$i]]['direction'] = 'down';
                else 
    $this->gradient[$this->rgb[$i]]['direction'] = 'up';
            }
            
            
    $tempArray = array($this->gradient['red']['interval'], $this->gradient['green']['interval'], $this->gradient['blue']['interval']);
            
    $this->gradientBorder max($tempArray);
        }
        
        
    /**
         * Generates a random font color.
         */
        
    protected function setFontColor() {
            
    $this->fontColor = array('red' => 0'green' => 0'blue' => 0);
            
    $this->fontColor['red']  = mt_rand((round((255 $this->color1['red'] + 255 $this->color2['red']) / 2) % 256), 256);
            
    $this->fontColor['green'] = mt_rand((round((255 $this->color1['green'] + 255 $this->color2['green']) / 2) % 256), 256);
            
    $this->fontColor['blue']  = mt_rand((round((255 $this->color1['blue'] + 255 $this->color2['blue']) / 2) % 256), 256);
            
            if ((
    abs($this->color1['red'] - $this->fontColor['red']) <= 50 || abs($this->color2['red'] - $this->fontColor['red']) <= 50)) {
                
    $this->setFontColor();
            }
        }
        
        
    /**
         * Creates an image for every code character.
         */
        
    protected function createCharImages() {
            
    $counter 0;
            
            for (
    $i 0$j strlen($this->codeWord); $i $j$i++) {
                
    $char $this->codeWord[$i];
                    
                
    $tempImageWidth =  $this->fontSize 2;
                
    $tempImageHeight $this->fontSize 40;
                
                
    // create image
                
    $tempImage imageCreate($tempImageWidth$tempImageHeight);
                
    $tempColor imageColorAllocate($tempImage$this->color2['red'], $this->color2['green'], $this->color2['blue']);
                
    imageColorTransparent($tempImage$tempColor);        
                
                
    // set font color
                
    $fontColor imageColorAllocate($tempImage$this->fontColor['red'], $this->fontColor['green'], $this->fontColor['blue']);
                
                
    // write text
                
    imageTtfText($tempImage$this->fontSize010$this->fontSize mt_rand(2530), $fontColor$this->fontFace$char);
                    
                
    // morph text        
                
    if (CAPTCHA_FONT_MORPH) {
                    
    $tempImageHeight 120;
                    
    $tempImage2 imageCreate($tempImageWidth120);
                    
    $tempColor imageColorAllocate($tempImage2$this->color2['red'], $this->color2['green'], $this->color2['blue']);
                    
    imageColorTransparent($tempImage2$tempColor);
                
                    
    $divisor mt_rand(67);
                    
    $quotient mt_rand(46);
                    
    $method mt_rand(01);
                
                    
    // morph text on x-axis
                    
    if ($method == 0) {
                        for (
    $y 1$y <= $tempImageHeight$y++) {
                            
    $posX =  sin($y $divisor) * $quotient;
                            
    imageCopyMerge($tempImage2$tempImage$posX$y0$y$tempImageWidth1100);
                        }
                    }
                
                    
    // morph text on y-axis
                    
    if ($method == 1) {
                        for (
    $x 1$x <= $tempImageWidth$x++) {
                            
    $posY =  sin($x $divisor) * $quotient;
                            
    imageCopyMerge($tempImage2$tempImage$x$posY$x01$tempImageHeight100);
                        }
                    }
                
                    
    $image $tempImage2;
                }
                else {
                    
    $image $tempImage;
                }

                
    // get text width and height
                
    $positionX 0;
        
                for (
    $x = ($tempImageWidth-1); $x 0$x--) {
                    for (
    $y $tempImageHeight 1$y 0$y--) {
                        
    $color imageColorAt($image$x$y);
                        
    $colorArray imageColorsForIndex($image$color);
                        if (
    $colorArray['red'] == $this->fontColor['red'] && $colorArray['green'] == $this->fontColor['green'] && $colorArray['blue'] == $this->fontColor['blue']) {
                            
    $positionX $x;
                            
    $x 0;
                            
    $y 0;
                            break;
                        }
                    }
                }
                
                
    $width     $positionX 10;
                
    $height 100;
                
                
    // create final char image
                
    $this->chars[$counter] = imageCreate($width$height);
                
                
    $color2 imageColorAllocate($this->chars[$counter], $this->color2['red'], $this->color2['green'], $this->color2['blue']);
                
    imageColorTransparent($this->chars[$counter], $color2);
                
    imageCopyMerge($this->chars[$counter], $image55,  0,  0$width$tempImageHeight100);
                
    $this->charWidth[$counter] = $width;
                
                
    // destroy temp images
                
    imageDestroy($tempImage);
                if (
    CAPTCHA_FONT_MORPH)    imageDestroy($tempImage2);
                
                
                
    $counter++;
            }
        }
        
        
    /**
         * Creates and outputs the final image. 
         */
        
    protected function createImage() {
            
    // calculate image width
            
    foreach($this->charWidth as $width) {
                
    $this->captchaWidth += $width;
            }
            
            if (
    $this->captchaWidth + (strlen($this->codeWord) * 10) <= 300) {
                
    $this->captchaWidth 300;
            }
            
            
    // create final image
            
    $captcha imageCreate($this->captchaWidth 40$this->captchaHeight);
            
    $min 0;
            
            
    // insert background
            
    if (CAPTCHA_RANDOM_BACKGROUND) {
                for (
    $y 1$y <= $this->elements$y++) {
                    
    $size $elementsArr[$y]['size'] = mt_rand(150250);
                    
    $elementsArr[$y]['pos']  = array(mt_rand($min$min+$size), mt_rand(2080));
                    
    $min $min $size 50;
                }
                
                
    $tempRed $this->color2['red'];
                
    $tempYellow $this->color2['green'];
                
    $tempBlue $this->color2['blue'];
                
                
    $counter 0;
                
                for (
    $x $this->gradientBorder$x 0$x--) {
                    
                    if (
    $tempRed != $this->color1['red']) {
                        if (
    $this->gradient['red']['direction'] == 'up'$tempRed++;
                        else 
    $tempRed--;
                    }
                    
                    if (
    $tempYellow != $this->color1['green']) {
                        if (
    $this->gradient['green']['direction'] == 'up'$tempYellow++;
                        else 
    $tempYellow--;
                    }
        
                    if (
    $tempBlue != $this->color1['blue']) {
                        if (
    $this->gradient['blue']['direction'] == 'up'$tempBlue++;
                        else 
    $tempBlue--;
                    }
                    
                    
    $color imageColorAllocate($captcha$tempRed$tempYellow$tempBlue);
                    
                    foreach (
    $elementsArr as $element) {
                        
    imageFilledEllipse($captcha$element['pos'][0], $element['pos'][1], $element['size'] - $counter,  $element['size'] - $counter$color);
                    }
                    
    $counter++;
                }
            }
            else {
                
    $tempColor  imageColorAllocate($captcha255255255);
            }
            
            
    // insert character images
            
    $counter $y 0;
            foreach (
    $this->chars as $char) {
                
    imageCopy($captcha$char$ymt_rand(030), 00$this->charWidth[$counter], $this->captchaHeight);
                
    imageDestroy($char);
                
    $y $y $this->charWidth[$counter] + mt_rand(010);
                
    $counter++;
            }
            
            
    // insert random lines
            
    if (CAPTCHA_RANDOM_LINES) {
                for (
    $x 1$x <= $this->lines$x++) {
                    
    imageSetThickness($captchamt_rand(13));
                    
    $pos1 = array('x' => mt_rand(2$this->captchaWidth 2), 'y' => mt_rand(2$this->captchaHeight 2));
                    
    $pos2 = array('x' => mt_rand(2$this->captchaWidth 2), 'y' => mt_rand(2$this->captchaHeight 2));
                    
    $lineColor imageColorAllocate($captcha$this->fontColor['red'], $this->fontColor['green'], $this->fontColor['blue']);
                    
    imageLine($captcha$pos1['x'], $pos1['y'], $pos2['x'], $pos2['y'], $lineColor);
                }
            }
            
            
    // output image
            
    imagePng($captcha);
            
            
    // destroy image
            
    imageDestroy($captcha);
        }
    }
    ?>
    captcha.php
    PHP-Code:
    <?php
    require_once(dirname(__FILE__).'/CaptchaImage.php');

    /**
     * Generates and manages captchas.
     */
    class Captcha {
        const 
    CONSONANTS     'BCDFGHJKLMNPRSTVWXYZ';
        const 
    VOCALS        'AEIOU';
        
        
    /**
         * Validates the given captcha string.
         * 
         * @param    string        $captchaString
         */
        
    public static function validate($captchaString) {
            if (
    Captcha::isSupported()) {
                try {
                    if (empty(
    $captchaString)) {
                        throw new 
    Exception('captchaString');
                    }
                    
                    if (
    strtoupper($captchaString) != $_SESSION['captcha']) {
                        throw new 
    Exception('captchaString');
                    }
                    
                    
    // captcha ok
                    
    self::delete();
                }
                catch (
    Exception $e) {
                    
    self::delete();
                    throw 
    $e;
                }
            }
        }
        
        
    /**
         * Deletes this captcha.
         */
        
    public static function delete() {
            unset(
    $_SESSION['captcha']);
        }
        
        
    /**
         * Creates a new captcha.
         * Returns the id of the created captcha.
         * 
         * @param    integer        $length        length of captcha string
         * @return    integer        id
         */
        
    public static function create($length null) {
            if (!
    self::isSupported()) {
                return 
    0;
            }
            
            if (
    $length === null) {
                
    $length mt_rand(58);
            }
            
            
    // get random string
            
    $captchaString self::getRandomMnemonicString($length);
            
            return 
    $_SESSION['captcha'] = $captchaString;
        }
        
        
    /**
         * Generates a random mnemonic password
         *
         * @param    integer        $length
         * @return    string
         */
        
    protected static function getRandomMnemonicString($length) {
            
    $string '';
            for (
    $i 1$i <= $length$i++) {
                if (
    $i 2$string .= substr(self::CONSONANTSmt_rand(019), 1);
                else 
    $string .= substr(self::VOCALSmt_rand(04), 1);
            }
        
            return 
    $string;
        }
        
        
    /**
         * Checks the requirements of captcha generation.
         * 
         * @return     boolean
         */
        
    public static function isSupported() {
            if (!
    function_exists('gd_info')) {
                return 
    false;
            }
            
            
    // get information about gd lib
            
    $gdInfo gd_info();
                
            
    // get gd lib version
            
    $gdVersion '0.0.0';
            if (
    preg_match('!([0-9]+\.[0-9]+(?:\.[0-9]+)?)!'$gdInfo['GD Version'], $match)) {
                
    $gdVersion $match[1];
                if (
    $gdVersion == '2.0'$gdVersion '2.0.0';
            }
            
            
    // check support for ttf and png and the right version    
            
    if (!$gdInfo['FreeType Support'] || !$gdInfo['PNG Support'] || version_compare($gdVersion'2.0.0') < 0) {
                return 
    false;
            }
            
            return 
    true;
        }
    }
    ?>
    Was ich weiß dürfte nur "index.php" ein Fehler sein hoffe ihr könnt mir helfen!
    Danke im Voraus!

  • #2
    Wie soll mir das witerhelfen?

    Kommentar


    • #3
      Ohne den Code angesehen zu haben:
      "Geht net" ist keine hilfreiche Fehlerbeschreibung! Sag mal was genau nicht funktioniert...

      http://www.php.de/wiki-php/index.php...ging:Leitfaden

      Kommentar


      • #4
        Ja weis nicht so ganz bei der Index muss ein Fehler sein wenn ich es mit localhost ansehen will kommt immer eine Fehlermeldung bei Zeile 113 und in der Umgebung...

        Kommentar


        • #5
          Welchen Inhalt hat die Fehlermeldung???

          Kommentar


          • #6
            Bitte aussagekräftige Threadtitel verwenden

            Dinge die definitiv nicht in den Titel gehören
            • Hilfe!!, Brauche Hilfe - natürlich, wie jeder hier

            Kommentar


            • #7
              Hier ein CAPTCHA-Beispiel das funktioniert:

              index.php
              PHP-Code:
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
              <
              html>
               <
              head>
                <
              title>CAPTCHA-Test</title>
               </
              head>
              <
              body>

              <
              H3>CAPTCHA-Test</H3>

              <
              form action="check.php" method="post">

               <
              img src="captcha.php" width="70" height="25" alt="" style="vertical-align: middle;">

               <
              input type="text" name="captcha" size="6">

               <
              input name="submit" type="submit" value="los">

              </
              form>

              </
              body>
              </
              html
              check.php
              PHP-Code:
              <?php
              // Session starten
              session_start();
              ?>
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
              <html>
               <head>
                <title></title>
               </head>
              <body>

              <?php
              // Captcha überprüfen
              if (($_SESSION["captcha_code"] !=0) AND ($_POST["captcha"] == $_SESSION["captcha_code"])) {
                echo 
              "Richtig";
              }
              else {
               echo 
              "Falsch";
              }

              // Session löschen
              unset($_SESSION['captcha_code']);
              ?>

               - <a href="index.php">Noch einmal!</a>

              </body>
              </html>
              captcha.php
              PHP-Code:
              <?php
              ## CAPTCHA ##

              // Session starten
              session_start();

              // Größe des Bildes
              $size_x 70;
              $size_y 25;

              // Erzeuge eine Zufallszahl
              $zufallszahl mt_rand("100000""999999");

              // Zufallszahl der Session-Variablen übergeben
              $_SESSION["captcha_code"] = $zufallszahl;

              // Erstelle das Bild mit der angegebenen Größe!
              $bild imageCreate($size_x$size_y);

              // Erstelle einen weißen Hintergrund
              imageColorAllocate($bild255255255);

              // Zufallsfarbe (RGB) erstellen
              $farbe1 mt_rand("0""175");
              $farbe2 mt_rand("0""175");
              $farbe3 mt_rand("0""175");

              // Verteile die Farben
              $rahmen imageColorAllocate($bild000); // Rahmenfarbe
              $farbe  imageColorAllocate($bild$farbe1$farbe2$farbe3); // Textfarbe

              // Hole die Zahlen der Punkte zum Zeichnen
              $alle_punkte = ($size_x $size_y)/15;

              // Zeichne viele Punkte mit der selben Farbe des Textes
              for ($zaehler 0$zaehler $alle_punkte$zaehler++) {

               
              // Erzeuge die Zufallspositionen der Punkte
               
              $pos_x mt_rand("0"$size_x);
               
              $pos_y mt_rand("0"$size_y);

               
              // Zeichne die Punkte
               
              imageSetPixel($bild$pos_x$pos_y$farbe);
              };

              // Zeichne den Rahmen
              imageRectangle($bild00$size_x-1$size_y-1$rahmen);

              // Koordinaten der Position von der Zufallszahl
              $pos_x 8// links
              $pos_y 5// oben

              // Zeichne die Zufallszahl
              imageString($bild5$pos_x$pos_y$zufallszahl$farbe);

              // Sende "browser header"
              header("Content-Type: image/png");

              // Sende das Bild zum Browser
              echo imagePNG($bild);

              // Lösche das Bild
              imageDestroy($bild);
              ?>

              Kommentar


              • #8
                Zitat von timle14 Beitrag anzeigen
                Ja weis nicht so ganz bei der Index muss ein Fehler sein wenn ich es mit localhost ansehen will kommt immer eine Fehlermeldung bei Zeile 113 und in der Umgebung...
                Dir ist schon klar, dass Zeile 113 so ziemlich die letzte Zeile in deiner index ist?

                Kommentar


                • #9
                  Hier die Fehlermeldung "Parse error: syntax error, unexpected end of file in C:\xampp2\htdocs\captcha\index.php on line 113"

                  Kommentar


                  • #10
                    => Rück vernünftig ein.

                    Ändere doch bitte den Threadtitel.

                    Kommentar


                    • #11
                      Schließe deine Klammern vernünftig und du wirst sehen, allet is jut.

                      Kommentar

                      Lädt...
                      X