Making a Login Scirpt... - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > PHP » Making a Login Scirpt...


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-13-2006   #1 (permalink)
jasmine
Junior Member
 
Join Date: Jul 2006
Age: 48
Posts: 10
Default Making a Login Scirpt...

Ok I have no idea about login scripts, but how can I make a script that will send the client to a page that Ive made before hand for them when they log in.
Thanks
Jasmine
jasmine is offline   Reply With Quote


Old 07-23-2006   #2 (permalink)
Ankita
Member
 
Join Date: Jul 2006
Age: 25
Posts: 53
Default Re: Making a Login Scirpt...

Let me first understand the problem:
Do you want:
Client x login
Should be redirected to a specific page made for client x ???

If thats true: After authentication(can be done thru htaccess, redirect them to the link you made). I hope I am making some sense...give details on the problem if not!
Ankita is offline   Reply With Quote

Old 07-27-2006   #3 (permalink)
alex
Senior Member
 
alex's Avatar
 
Join Date: Jul 2006
Age: 30
Posts: 124
Default Re: Making a Login Scirpt...

There are tons of authentication scripts out there. I wouldnt' recommend htaccess. It depends on the scope of the entire project. Please explain.
alex is offline   Reply With Quote

Old 08-02-2006   #4 (permalink)
Ankita
Member
 
Join Date: Jul 2006
Age: 25
Posts: 53
Default Re: Making a Login Scirpt...

just save the userid and password in database in encrypted form.
And match with them in login page
Ankita is offline   Reply With Quote

Old 08-03-2006   #5 (permalink)
Naox
Member
 
Join Date: Aug 2006
Age: 19
Posts: 57
Send a message via AIM to Naox Send a message via MSN to Naox Send a message via Yahoo to Naox
Default Re: Making a Login Scirpt...

I would do as Ankita said and save the data in a database, checking to see if their credentials validate. If so, create a session (session_start();) and input their username. Then header("Location: nextpage.php"); to the page you want them to view once they login successfully. on top of the nextpage.php, do a start_session() and if $_SERVER["username"] == "" then redirect them back to the login page. this way no user could get to the nextpage without logging in successfully
Naox is offline   Reply With Quote

Old 10-12-2006   #6 (permalink)
ScottHughes
Senior Member
 
Join Date: Sep 2006
Age: 22
Posts: 460
Default Re: Making a Login Scirpt...

Does the page need to be for the specfic user? Then, you could just use their ID to direct them to the page associated with that ID.
__________________
ScottHughes is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cookie-based Authentication: Login program Ankita Perl 0 08-19-2006 10:40 AM
Ads under login bar Cholo Graphics & Multimedia 6 08-11-2006 02:26 AM
MOVED: Ads under login bar lisah746 Marketing 0 07-28-2006 12:11 AM
ASP Login - Please help me samuel ASP 0 07-27-2006 05:16 PM
login Jake All Things General 2 06-20-2006 07:47 PM


footer left
All times are GMT. The time now is 08:01 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Actress | Myspace Proxy | Property in Morocco | Turbo Tax | Myspace Proxy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49