![]() |
|
|
#1 |
|
Junior Member
Join Date: Oct 2004
Posts: 1
|
HELP! PHP Login that redirects to user page
Hi All,
If anyone can help me, I would be most grateful. I am trying to create a Client Login for my website, which will anable a client to login and be redirected to that users secure page/pages. There would be no registration, as I would create there username & password. The users pages wouldn't need to be 100% secure, but I don't want every joe having a nose. I am very new to Apache, PHP and MySQL, but have managed to build a basic login system with database etc.... I just havent got a clue how to redirect a user upon login? I have noticed that several people on the web have been looking for similar code/help/tutorials, but with no joy. If anyone has any ideas, please let me know. Many thanks Dorgs |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jul 2004
Posts: 167
|
Re: HELP! PHP Login that redirects to user page
There's a meta tag to redirect users, you can just stick that in the page using a variable to go to the right page. Alternatively, there is a php function for that:
header("Location: page.php?user=$userid"); |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2004
Posts: 13
|
Re: HELP! PHP Login that redirects to user page
I would say better do it with an exp programmer, coz it is unsecure to be made by u which can be easily broken with an simple Brute Force Login.
so prob, be on a safer side, when hadling something CONFIDENTIAL. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using PHP and MySQL to build a dynamic website | mchu | PHP | 0 | 09-15-2004 12:49 AM |