please tell me why its tell "Captcha: You entered wrong captcha code."

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

    help please tell me why its tell "Captcha: You entered wrong captcha code."

    please tell me why its tell "Captcha: You entered wrong captcha code."
    please register http://topm.ga/signup.php
    you can understand what i say

    #2
    he is the signup.php

    PHP Code:
    <?php
    /**
    *
    */
    session_start();
    define('IN_MOB',1);
    require_once 
    './inc/init.php';
    if(
    $mob->settings['tid'] == 0)
    {
    $errors = array();
    if(isset(
    $mob->input['act']) && $mob->input['act'] == "signup")
    {
    if(isset(
    $mob->input['captcha']) && $_SESSION['captcha'] == $mob->input['captcha'])
    {
    $data = array("name" => $mob->input['name'] , "domain" => $mob->input['domain'] , "email" => $mob->input['email'] , "password" => $mob->input['password'] , "password2" => $mob->input['password2']);
    require_once 
    './inc/datahandler.php';
    $toplist = new Datahandler('add_toplist');
    $toplist->set_data($data);
    $toplist->validate_toplist();
    if(
    count($toplist->get_errors()) <= 0)
    {
    $toplist_tid $toplist->add_toplist();
    mob_setcookie("mobtid",$toplist_tid,null,true);
    mob_setcookie("password",base64_encode(md5(md5($da ta['password']))),null,true);
    header('Location: /manage.php');
    }
    else
    {
    $errors $toplist->get_errors();
    }
    }
    else
    {
    $errors['captcha'] = array("error_code" => "captcha" "data" => "You entered wrong captcha code.");
    }
    }
    require_once 
    './header.php';
    $signup $template->loadTemplate('signup.tpl');
    $data['name'] = isset($mob->input['name']) ? $mob->input['name'] : '';
    $data['domain'] = isset($mob->input['domain']) ? $mob->input['domain'] : 1;
    $data['email'] = isset($mob->input['email']) ? $mob->input['email'] : '';
    $signup->display(["domainlist" => get_domainlist() , "errors" => $errors "data" => $data]);
    include_once 
    './footer.php';
    }
    else
    {
    header('Location: /index.php');
    }
    Last edited by arnage; 29.11.14, 15:28.

    Comment


      #3
      please someone help me

      Comment


        #4
        you can disable captcha if it doesnt work for you, probably the session var with captcha code is not transferred to the signup.php
        Advertise your mobile site for FREE with AdTwirl

        Comment


          #5
          if(isset($mob->input['captcha']) && $_SESSION['captcha'] == $mob->input['captcha'])
          Advertise your mobile site for FREE with AdTwirl

          Comment


            #6
            You might need to add require_once '/captcha.php'; its not seeing what you posted.
            Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
            Visit: WapMasterz Coming Back Soon!
            _______
            SCRIPTS FOR SALE BY SUBZERO
            Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
            FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
            _______
            Info & Tips
            php.net
            w3schools.com

            Comment


              #7
              Replace on signup.php
              PHP Code:
              <?php
              /**
              *
              */
              with
              PHP Code:
              <?php
              session_start
              ();
              var_dump($_POST);
              var_dump($_SESSION);
              exit;
              Then copy the output here.
              Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

              Comment

              Working...
              X