Search
Left Quote    A clever person solves a problem. A wise person avoids it.
- Einstein    
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   
Unregistered
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:
<?php
ob_start();
require_once($_ SERVER['DOCUMEN T_ROOT'].'/db_c onnect.php');

if(isset($_SESS ION['username'] ) && isset($_SESSION ['password'])) {
//REDIRECT TO USERS PROFILE...

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

ANY IDEAS??

    Viewed: 4,616 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,505)
Since: 02/06/05
Posts: 600
From: USA

do you have any errors?




-bs0d | AllSyntax.com

    Viewed: 4,603 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








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank