Left Quote    Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln    
Right Quote
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply

        Viewing Topic: Login problem, please help!!
  This user is online  Guest
  Subject: "Login problem, please help!!" Posted: @ 8:47 pm on Feb 06 2006   
I'm really struggling to get the login.php page to work.
Register is fine - I can see the registered user in my mysql database.
However, when I try and register that user I don't get my members.php page as I'd expect.

The start of my code in login.php looks like this:
require_once($_ SERVER['DOCUMEN T_ROOT'].'/db_c onnect.php');

if(isset($_SESS ION['username'] ) && isset($_SESSION ['password'])) {

header("Lo cation:http://w /index.php?exec =members";


    Viewed: 6,044 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Login problem, please help!!" Posted: @ 1:46 am on Feb 07 2006    

Member #: 1
Rank: Admin. - (1,510)
Since: 02/06/05
Posts: 604
From: USA

do you have any errors?

-bs0d |

    Viewed: 6,031 Times | Reply to This | To top
Viewing Page: 1 of 1

1 |

You must be logged in to post on the forums. Login or Register

"" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy