Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 5th Mar 2010, 12:53 AM   #1
Warrior Member
 
Join Date: 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Need Help With a PHP Script ...
Share on: 
fb share twitter share gplus share more share

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

bodyboard662 is offline  
Unread 5th Mar 2010, 10:41 AM   #2
VIP Warrior
War Room Member
 
SteveJohnson's Avatar
 
Join Date: 2007
Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
Default
Re: Need Help With a PHP Script ...
Share on: 
fb share twitter share gplus share more share

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."
SteveJohnson is offline  
The Following User Says Thank You to SteveJohnson For This Useful Post:
Unread 5th Mar 2010, 10:48 AM   #3
Entrepenerd.com
War Room Member
 
entrepenerd's Avatar
 
Join Date: 2008
Location: Indiana, USA
Posts: 390
Thanks: 147
Thanked 93 Times in 45 Posts
Default
Re: Need Help With a PHP Script ...
Share on: 
fb share twitter share gplus share more share

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.

entrepenerd is offline  
Closed Thread


Bookmarks

Tags
php, script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:10 PM.