MySqlTalk.com  

Go Back   MySqlTalk.com > Programming Languages and MySQL > PHP
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread
Old 10-06-2004, 03:42 PM   #1
dorgs
Junior Member
 
Join Date: Oct 2004
Posts: 1 dorgs is on a distinguished road
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
dorgs is offline   Fork this post Reply With Quote
Old 10-20-2004, 03:21 PM   #2
Azkaban
Senior Member
 
Join Date: Jul 2004
Posts: 167 Azkaban is on a distinguished road
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");
Azkaban is offline   Fork this post Reply With Quote
Old 10-30-2004, 10:06 AM   #3
HTTPguru
Junior Member
 
Join Date: Oct 2004
Posts: 13 HTTPguru is on a distinguished road
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.
HTTPguru is offline   Fork this post Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Forum Jump

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



All times are GMT -4. The time now is 06:38 PM.



Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Google
  Web http://www.mysqltalk.com
DISCLAIMERS:
1. We have no commercial interest in this site.
Banner Ads and Subscriptions will only be used to help pay for hosting and maintenance costs.
2. MySQLTalk.com is NOT affiliated with MySQL AB in any way.
3. MySQLTalk.com is NOT endorsed by MySQL AB in any way.
4. Please do not post any content that is harmful to MySQL or MySQL AB, meaning no misleading or obsolete information will be tolerated.
Well-founded constructive criticism meant to help the community is permitted.
5. This website is founded with the goal of improving the MySQL community.
We not only tolerate newbies, we encourage them.
Please do not ask newbies to "read the manual".