how to go to the same page after login in PHP
Posted
by Fero
on Stack Overflow
See other posts from Stack Overflow
or by Fero
Published on 2010-03-28T06:56:21Z
Indexed on
2010/03/28
7:03 UTC
Read the original article
Hit count: 253
php5
Hi all,
For example,
STEP 1:
I am browsing a page without logging in and my last page before logging in is beforeLogin.php
STEP 2:
Now my prob is when i logged in i am redirecting to the index.php page. Instead i should be redirected to the last page what i had browsed.
That is from the above example is should redirected to beforeLogin.php
How should this can be done.
Any help will be appreciable.
thanks in advance
© Stack Overflow or respective owner