-
Hi Guys,
How can i get the URL address in my membership.php to display that URL. At the moment, when the user logs in the validate.php script kicks in....part of the script is below. If the user is a valid user they will be taken to membership.php. This all works fine except for the URL address in the membership.php page, it currently reads validate.php.
How can i change this?
Cheers,
micmac
<?
if (session_is_registered(\"valid_user\"))
{
// logged in successfully to membership area
require(\"membership.php\");
}
else
{
if (isset($userid))
{
// if they\'ve tried and failed to log in
require(\"warning.php\");
}
else
{
// they have not tried to log in yet or have logged out
require(\"warning.php\");
}
}
?>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|