Left Quote    By failing to prepare, you are preparing to fail.
- Benjamin Franklin    
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: 5,600 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,508)
Since: 02/06/05
Posts: 602
From: USA

do you have any errors?

-bs0d |

    Viewed: 5,587 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-2020; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank