Hello experts,
i have a login script. i want users to redirect to the previous page from where they came. after successful login. some one suggested me this
$current_page_URL = $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
but i am new to php so i don't know how to pass this through the login form and redirecting to it if the login is successful. please help me. thanks
Comments
Leave a comment