phrosty Posted April 20, 2006 Share Posted April 20, 2006 I've been working on a script for my site and I noticed anytime I use the AOL browser (only when I use the AOL browser, does not happen when I use mozilla or stand alone IE) to view my website I get the following text at the end of my URL?ABCDEFGHfor example:instead of the proper url [b]/page.php?type=name&cityid=6&on=a[/b]this comes up instead[b]/page.php?type=name&cityid=6&on=a?ABCDEFGH[/b]The weird thing is the ?ABCDEFGH doesn't show up all the time, but when it does it screws up the code that needs to read [b]on=a[/b]Is there any script that will search for the ?ABCDEFGH and remove it from the URL address? or anything else that can be done?Any help would be EXTREMELY appreciated! Quote Link to comment Share on other sites More sharing options...
zq29 Posted April 20, 2006 Share Posted April 20, 2006 Thats quite interesting, does that only happen on the site you are building, or any site that you happen to visit with the AOL browser?As a fix, I guess you could run something this?:[code]<?phpforeach($_GET as $key => $val) { $_GET[$key] = str_replace("?ABCDEFGH","",$val);}?>[/code] Quote Link to comment Share on other sites More sharing options...
phrosty Posted April 21, 2006 Author Share Posted April 21, 2006 [!--quoteo(post=366849:date=Apr 20 2006, 11:06 AM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ Apr 20 2006, 11:06 AM) [snapback]366849[/snapback][/div][div class=\'quotemain\'][!--quotec--]Thats quite interesting, does that only happen on the site you are building, or any site that you happen to visit with the AOL browser?As a fix, I guess you could run something this?:[code]<?phpforeach($_GET as $key => $val) { $_GET[$key] = str_replace("?ABCDEFGH","",$val);}?>[/code][/quote]Hey thanks for your help...yea it only happens for the website I'm building which is weird...so I'm not sure if it has something to do with my code or what. But since it only happens with AOL I was thinking maybe it has to do with their proxy servers or something, like mayb they are messing up transmission of the code or something.I have a question since I'm pretty new to PHP...does the above code check the URL address bar for the ?ABCDEFGH or does it check text in the code? Quote Link to comment Share on other sites More sharing options...
zq29 Posted April 24, 2006 Share Posted April 24, 2006 [!--quoteo(post=367321:date=Apr 21 2006, 10:14 PM:name=phrosty)--][div class=\'quotetop\']QUOTE(phrosty @ Apr 21 2006, 10:14 PM) [snapback]367321[/snapback][/div][div class=\'quotemain\'][!--quotec--]I have a question since I'm pretty new to PHP...does the above code check the URL address bar for the ?ABCDEFGH or does it check text in the code?[/quote]It checks everything after the first "?" in the URL. 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.