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... 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() 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() 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 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
Archived
This topic is now archived and is closed to further replies.