Need Help With a PHP Script ...

2 replies
Okay i got a script and i need to change something, however my PHP is amatuer at best

The basics of it is that you need to register for the site, simple Username/Password and a recaptcha.

User register and then they are taken to a login screen. What i would like to happen is that when they register they are automatically logged in. For someone who knows what they are doing this shouldnt take more than 5mins i dont think.

Let me know if you can help me out.

Thanks
#php #script
  • Profile picture of the author SteveJohnson
    I can help you - but I have a question: if your PHP is "amateur at best" why do you think something like this will only take 5 minutes?
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[1828404].message }}
  • Profile picture of the author entrepenerd
    Here's the quick concept. Look at the code that executes after a normal login. Find out where the cookie or session tracking code is being set to keep the user logged in.

    Then take that same code and put it in place on the page that processes your sign-up form. The user will then be logged in after sign-up.

    Then instead of forwarding the login form after sign-up you can just forward to the right landing page.
    {{ DiscussionBoard.errors[1828439].message }}

Trending Topics