PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a site which provides login section on every page of it.(with include function) The problem is that when the user login the site with his username he is redirected to the index.php. However I want him to go to the page that he login to the site.
For example the user is on the products page. He will enter from this page. After login I want him to come again to the products page.