Search
Left Quote    I have not failed. I've just found 10,000 ways that won't work.
- Thomas Alva Edison    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: User Authentication Help
  This user is offline  WyleySam
  Subject: " User Authentication Help" Posted: @ 4:21 pm on Feb 19 2007   
Member #: 282
Rank: User - (1)
Since: 02/19/07
Posts: 1

I am trying to use the User Authentication. The logon & registration scripts work. What I don't understand is exactly how do I intergrate the Page_header script. Do I just include it with a require_once or does it replace existing code in the logon scitpt (ie: ob_start();
//require_once( $_SERVER['DOCUM ENT_ROOT'].'/db _connect.php');
require_once('d b_connect.php') ;

if(isset($_SESS ION['username'] ) && isset($_SESSION ['password'])) {
//REDIRECT TO USERS PROFILE...
header("Lo cation: " . $YourSite);
} //end if logged in)???

Any help would be appreciated. Italic Text Here


    Viewed: 3,947 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: User Authentication Help" Posted: @ 5:12 pm on Feb 19 2007    

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




-bs0d | AllSyntax.com

    Viewed: 3,937 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