Captchat Problem In Register Form

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

    #16
    The reason you are having problems with logins and captcha's are not working etc is on this new server you don't have globals enabled as it is a security risk.

    which means either you can the missing $_POST's and $_GET's in manually: eg:

    $name = $_POST['name'];
    $name = $_GET['name'];
    (the word "name" has to be changed to the required value)

    or alternatively here is a fix to get globals working again:

    Comment


      #17
      I had try to put
      php_flag register_globals on in htaccess but dont change nothing...
      if like my post click:

      http://coding-talk.com/images/totall...ost_thanks.gif

      Comment


        #18
        Yeah its because you are running on a version of php that is 5.4.0. or higher - In which case you will need to do one of the 2 things in my above post.

        Or alternatively you could use an older version of php if your host allows it.

        Comment


          #19
          i see the script use this:
          PHP Code:
          // AN ANTI-INJECTION TRICK ;)
          if(!get_magic_quotes_gpc())
          {
          $_GET array_map('trim'$_GET);
          $_POST array_map('trim'$_POST);
          $_COOKIE array_map('trim'$_COOKIE);
          $_SERVER = @array_map('trim'$_SERVER);
          $_GET array_map('addslashes'$_GET);
          $_POST array_map('addslashes'$_POST);
          $_COOKIE array_map('addslashes'$_COOKIE);
          $_SERVER array_map('addslashes'$_SERVER);
          }

          // Anti hak
          function antihak($pro) {
          $priv=mysqli_real_escape_string($GLOBALS['hSQLink'],"$pro");
          return 
          $priv;

          Last edited by sweetangel; 11.01.17, 12:51.
          if like my post click:

          http://coding-talk.com/images/totall...ost_thanks.gif

          Comment


            #20
            Ah cool at least you do have some protection

            Comment


              #21
              i talk about a script here named heliosbb
              can u test and check if give u a problems?
              if like my post click:

              http://coding-talk.com/images/totall...ost_thanks.gif

              Comment


                #22
                Nope :P

                by the sounds of it - it is a globals problem, in which case it needs this code:
                PHP Code:
                //GLOBALS OFF WORK ROUND
                if (!ini_get('register_globals')) {
                $reg_globals = array($_POST$_GET$_FILES$_ENV$_SERVER$_COOKIE);
                if (isset(
                $_SESSION)) {
                array_unshift($reg_globals$_SESSION);
                }
                foreach (
                $reg_globals as $reg_global) {
                extract($reg_globalEXTR_SKIP);
                }

                Comment


                  #23
                  i can login but i cant see the logging pages after.. i really dont know how fix this problem for test the script
                  if like my post click:

                  http://coding-talk.com/images/totall...ost_thanks.gif

                  Comment


                    #24
                    I take it you are getting a blank page...
                    In which case upload this to your server:

                    error.php
                    PHP Code:
                    <?php
                    error_reporting  
                    (E_ALL);
                    ini_set ('display_errors'true);
                    include(
                    $_GET["page"]);
                    ?>
                    Then goto: error.php?page=index.php in your browser
                    (replace index.php with the page name that isn't working)

                    It should then tell you what is wrong with that page
                    Last edited by something else; 14.01.17, 20:36.

                    Comment


                      #25
                      this script is a mistery... (i mean heliosbb)

                      something else can u post a online users of lavalair script but organized in alphabetical order? A-C (
                      i dont know if someone had make this edit already... centi
                      if like my post click:

                      http://coding-talk.com/images/totall...ost_thanks.gif

                      Comment


                        #26
                        PHP Code:
                        $sql "SELECT
                                    a.name, b.place, b.userid FROM ibwf_users a
                                    INNER JOIN ibwf_online b ON a.id = b.userid
                                    GROUP BY 1,2
                                    LIMIT 
                        $limit_start$items_per_page
                                    ORDER BY a.name
                               "

                        Comment


                          #27
                          its already organized in alphabetical order....


                          ....................................
                          http://photomag.lk/
                          ....................................

                          Comment


                          • sweetangel
                            sweetangel commented
                            Editing a comment
                            i mean organized in groups:
                            like


                            A-C (9 users)
                            D-F (2 users)
                            ....

                            and if i click on this "9 or 2" i see the list of the users with usersnames with this character start.

                          #28
                          ohh like the categorized country online system...


                          ....................................
                          http://photomag.lk/
                          ....................................

                          Comment

                          Working...
                          X