Redirection after login
Posted 05 September 2006 - 04:42 AM
Posted 05 September 2006 - 12:45 PM
Did this help you at all?
Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools
Posted 06 September 2006 - 01:29 AM
$_SERVER['HTTP_REFERER'] contains the page (string) the person was directed from. You should check that this page is part of your site and direct to it, otherwise, direct to the default page.
Not really, I think I need more clarification.
Posted 06 September 2006 - 03:26 AM
Login.html : The form with login details
validate.php : The file that sets the session to logged or not logged
secure.php : the file that denys or allows users access, if its denied, then include(login.html) then exit. Then the if they do login, just refresh the page
If you read the files, you will have a better idea!
Hope that helps!
[attachment deleted by admin]
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users