LavaLair Reg Prob

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

    LavaLair Reg Prob

    Hey Im just wonderin can anybody help me with a prob im havin, Im tryin to reg on my site but wen i fill in reg form and click Register it just reloads the Reg page

    Somethin isn right, Is it the htaccess or can somebody help me fix it

    Thanks for any help u can give to me

    #2
    put this in your htaccess if your server allows it . makes site unsafe but it may help make it work .

    php_flag register_globals on
    Wapchat4u


    Topsites4u

    Comment


      #3
      Tried that mate and it doesnt work for me...

      Its the first problem ive had with this script as with my old server company the script worked fine

      Comment


        #4
        wot script u using ?
        Wapchat4u


        Topsites4u

        Comment


          #5
          im usin lavalair.. ermmmm its the dmpsites script that was posted ere named filthyf***kers m8

          Comment


            #6
            u got a php.ini . .can only be the server settings if it worked fine on your other server
            Wapchat4u


            Topsites4u

            Comment


              #7
              no i not got a php.ini iv a .htaccess that worked with my last server. ill email the server company about it, maybe ur rite nclemale36
              Thank u for ur help nd btw i love ur top-sites script its kewl

              Comment


                #8
                try this courtesy of subzeros coding. .
                Attached Files
                Wapchat4u


                Topsites4u

                Comment


                  #9
                  Registering Globals On is only a quick fix the better way to do it is to collect your variables in the correct collection method ag:
                  PHP Code:
                  $uid mysql_escape_string($_POST["uid"]);
                  $pwd mysql_escape_string($_POST["pwd"]);
                  $cpw mysql_escape_string($_POST["cpw"]);
                  $bdy mysql_escape_string($_POST["bdy"]);
                  $ulc mysql_escape_string($_POST["ulc"]);
                  $email mysql_escape_string($_POST["email"]); 
                  Change the above variable names to the same as you have in your form inputs.
                  also using mysql_escape_string() will help you from being hacked from sql injection

                  Added after 5 minutes:

                  Turning Globals on leaves all your undefined variables at risk and your site at risk from being hacked.
                  eg a user could use something like: http://yoursite.con/web/admincp.php?...omething&uid=1 and might be able to get into your admin control panel by setting there uid to 1
                  Last edited by something else; 05.09.10, 18:40.

                  Comment

                  Working...
                  X