Need Help how to redirect client after login with his own page

Hello all.

I’ve download and install a script register and login by php. the script is working well. i have plan to make 2-3 pages which diffirent each pages, and when the user/client login they will redirect to his own pages. please help me how to coded the script because i am newbie at php code.this is the code of that script.

login.php

<?PHP require_once("include/membersite_config.php"); if(isset($_POST['submitted'])) { if($fgmembersite->Login()) { $fgmembersite->RedirectToURL("login-home.php"); } } ?> <?php include_once ('include/header.php') ; ?>
Login
* required fields
<?php echo $fgmembersite->GetErrorMessage(); ?>
User Name *:
' maxlength="50" />
Password *:

really sorry i forget the [code]

this is the login.php
[php]<?PHP
require_once(“include/membersite_config.php”);

if(isset($_POST[‘submitted’]))
{
if($fgmembersite->Login())
{
$fgmembersite->RedirectToURL(“login-home.php”);
}

}

?>

<?php include_once ('include/header.php') ; ?>
Login
* required fields
<?php echo $fgmembersite->GetErrorMessage(); ?>
User Name *:
' maxlength="50" />
Password *:

[/php][/code]
Sponsor our Newsletter | Privacy Policy | Terms of Service