| | #1 |
| Warrior Member Join Date: 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
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 |
| | |
| |
| | #2 |
| VIP Warrior War Room Member Join Date: 2007 Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
|
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?
|
|
The 2nd Amendment, 1789 - The Original Homeland Security. Gun control means never having to say, "I missed you." | |
| |
| The Following User Says Thank You to SteveJohnson For This Useful Post: |
| | #3 |
| Entrepenerd.com War Room Member Join Date: 2008 Location: Indiana, USA
Posts: 390
Thanks: 147
Thanked 93 Times in 45 Posts
|
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. |
| | |
| |
|
| Bookmarks |
| Tags |
| php, script |
| |