Login page & index.php

I have a very simple login script , my problem is that I have no idea how to display my [b]index.php[/b] once the user has successfully logged in. Please will someone be able to assist. Thank you for all your help so far , it is much appreciated.

Comments

: I have a very simple login script , my problem is that I have no : idea how to display my [b]index.php[/b] once the user has : successfully logged in. Please will someone be able to assist. Thank : you for all your help so far , it is much appreciated.

You can redirect there from your login_success.php. You can either redirect using header(), or if you want to show the 'login successful' first, use a HTML META tag with REFRESH attribute.

One option would be to use the index.php as just a controller page and then pass parameters (current_page) to this page in the post or get fields.$_REQUEST["current_page"] = "{what ever page u want to go to}"the index.php would