cordoprod Posted May 25, 2008 Share Posted May 25, 2008 Hi. I want to redirect to a page.. But, i just want to refresh the page. Like this: $location = $_SERVER['PHP_SELF']; header("Location: $location"); But i have $_GET variables. Let's say the page is like this: user.php?nick=cordoprod How can i refresh the page and also keep the nick? Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted May 25, 2008 Share Posted May 25, 2008 $location = $_SERVER['REQUEST_URI']; header("Location: $location"); Quote Link to comment Share on other sites More sharing options...
cordoprod Posted May 25, 2008 Author Share Posted May 25, 2008 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.