really need some help with a php script

Discussion in 'PHP' started by rbailey83, Jan 2, 2010.

  1. #1
    i purchased 2 php scripts and followed installation correctly however when i go to log in to the admin the page just refreshes and asks for the password in the admin

    the other does the same for the admin and the user signup, i have no idea how to fix this, is there anyone what would be willing to look it over so see if there are any corrections to be made? you would have a free PTC script and forced matrix script for looking it over to see what is wrong.

    Thanks
    Richard
     
    rbailey83, Jan 2, 2010 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Most common problem that yields result like that is that register_globals needs to be on for the script to work and your hosting has it set to off.

    With some hosting you can turn it on by adding:
    to the .htaccess file. On others it is added to the PHP.ini file. On some it is not allowed at all which is really the best course of action as having it set to ON is a security issue.

    Best wishes,
     
    Colbyt, Jan 2, 2010 IP
  3. CodedCaffeine

    CodedCaffeine Peon

    Messages:
    130
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    IMO, register_globals is evil. If the php script isn't programmed securely, you'll end up getting hacked and having a lot of issues down the road.
     
    CodedCaffeine, Jan 2, 2010 IP
  4. rbailey83

    rbailey83 Active Member

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #4
    awesome thanks for the help
     
    rbailey83, Jan 2, 2010 IP
  5. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you're still having trouble with this feel free to email it me (jay [a t] jaygilford [d o t] com)
     
    JAY6390, Jan 2, 2010 IP
  6. rbailey83

    rbailey83 Active Member

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #6
    i checked with technical support and followed the directions on how to do the globals but it didn't work, any other suggestions? the php.ini file with the globals on would i put that into the main directory where the script is?
     
    rbailey83, Jan 3, 2010 IP
  7. CodedCaffeine

    CodedCaffeine Peon

    Messages:
    130
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yep. It goes in the web directory root.

    register_globals = On
    Code (markup):
     
    CodedCaffeine, Jan 3, 2010 IP