In My application after successful login in index page, I want to redirect the page(whatever in goto variable)
Take an example I want to get page1.php?name=ss&age=75
as goto variable.
www.example.com/index.php?goto=page1.php?name=ss&age=75
But I got only page1.php?name=ss
from $_REQUEST['goto']
Please provide me the best way to get whole url