Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old November 22nd, 2002, 05:51 PM
sirrusdi sirrusdi is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 8 sirrusdi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to sirrusdi
Question log-in and redirect

Hi!

Here is the problem. I am trying to do a client log-in script that when they logged in from ( http://www.sirrusdigital.com/new_site/ ) the form they would be redirected to a subdirectory url such as /their_user_name/ that was defined in a MySQL database along with the username, client_name, and password. How do i do this. A comlete code would be great or just snibbits. Also i have another question: what is md5?

Thanks for all your help!

Reply With Quote
  #2  
Old November 22nd, 2002, 05:59 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Firstly, welcome to the forums.

Md5 is an encryption method thats used. Its good because there is no unencrypt method for it. So its good for storing sensitive material. Like passwords.

Once you have confirmed there login. you could redirect them with this

header("Location: /$username/index.php");

Reply With Quote
  #3  
Old November 22nd, 2002, 06:13 PM
sirrusdi sirrusdi is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 8 sirrusdi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to sirrusdi
Ok! I'll try it.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > log-in and redirect


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway