MasterK Posted February 7, 2011 Share Posted February 7, 2011 I cannot figure this out and I know I'm just looking past the obvious... I am creating a simple "you are now leaving this website" page, Everything is setup, and all urls pointing to http://mysite.com?exit=http://externalsite.com, It should redirect to my exit.php which will redirect to the external site after 5 seconds. The problem is, the "http://" of the external site is causing a 403 forbidden, and even without it, anything with multiple &s isn't passing through. I cannot figure out how to get it to pass the full url to the exit.php... Quote Link to comment https://forums.phpfreaks.com/topic/226982-passing-url-to-another-page/ Share on other sites More sharing options...
AbraCadaver Posted February 7, 2011 Share Posted February 7, 2011 urlencode() Quote Link to comment https://forums.phpfreaks.com/topic/226982-passing-url-to-another-page/#findComment-1171075 Share on other sites More sharing options...
Psycho Posted February 7, 2011 Share Posted February 7, 2011 urlencode()/urldecode() Quote Link to comment https://forums.phpfreaks.com/topic/226982-passing-url-to-another-page/#findComment-1171076 Share on other sites More sharing options...
atrum Posted February 7, 2011 Share Posted February 7, 2011 Damn I am not fast enough lol Quote Link to comment https://forums.phpfreaks.com/topic/226982-passing-url-to-another-page/#findComment-1171077 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.