how can i do this??
Posted: Thu Mar 22, 2012 12:28 am
hi , i have a small cms created of my own which is controlled from single index.php.
I have created some articles which can be accessed only by logged in members.
So if a guest visit for example "http://example.com/article/how-can-i-do-it.php"
he is redirected to the http://example.com/login.php
All i need is when user login from this page , he should be taken to "http://example.com/article/how-can-i-do-it.php"
In normal case when user logins,they are redirected to http://example.com/.
plssss help!
I have created some articles which can be accessed only by logged in members.
So if a guest visit for example "http://example.com/article/how-can-i-do-it.php"
he is redirected to the http://example.com/login.php
All i need is when user login from this page , he should be taken to "http://example.com/article/how-can-i-do-it.php"
In normal case when user logins,they are redirected to http://example.com/.
plssss help!