darga333 Posted May 9, 2006 Share Posted May 9, 2006 for instance.. you have a file name that has an & in it and you try downloading it you cant find the file cause it stops at getWebsiteUp, it cant seem to get the & because the address bar processes &'s differnetlyfiledownnload.php?action=download&filename=getWebsiteUp&Running.doc Link to comment https://forums.phpfreaks.com/topic/9422-is-it-possible-to-pass-the-symbol-to-the-address-bar-using-get/ Share on other sites More sharing options...
.josh Posted May 9, 2006 Share Posted May 9, 2006 try this:<a href="blah.php?value=blah1<%=Server.URLEncode("&")%>blah2">click me</a>or if that don't work then try this:blah.php?val=tom%26jerryshould process $_GET['val'] as tom&jerry Link to comment https://forums.phpfreaks.com/topic/9422-is-it-possible-to-pass-the-symbol-to-the-address-bar-using-get/#findComment-34762 Share on other sites More sharing options...
Barand Posted May 9, 2006 Share Posted May 9, 2006 [!--quoteo(post=372761:date=May 9 2006, 11:02 PM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ May 9 2006, 11:02 PM) [snapback]372761[/snapback][/div][div class=\'quotemain\'][!--quotec--]try this:<a href="blah.php?value=blah1<%=Server.URLEncode("&")%>blah2">click me</a>[/quote]ASP !? Tempted to issue a warning for use of foul language ;-) Link to comment https://forums.phpfreaks.com/topic/9422-is-it-possible-to-pass-the-symbol-to-the-address-bar-using-get/#findComment-34768 Share on other sites More sharing options...
.josh Posted May 9, 2006 Share Posted May 9, 2006 gah! i'm sorry! [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] Link to comment https://forums.phpfreaks.com/topic/9422-is-it-possible-to-pass-the-symbol-to-the-address-bar-using-get/#findComment-34769 Share on other sites More sharing options...
darga333 Posted May 9, 2006 Author Share Posted May 9, 2006 hahaha! thanks guys!! %26 worked! Link to comment https://forums.phpfreaks.com/topic/9422-is-it-possible-to-pass-the-symbol-to-the-address-bar-using-get/#findComment-34775 Share on other sites More sharing options...
trq Posted May 9, 2006 Share Posted May 9, 2006 [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]ASP !? Tempted to issue a warning for use of foul language ;-)[/quote]he he he.... rofl Link to comment https://forums.phpfreaks.com/topic/9422-is-it-possible-to-pass-the-symbol-to-the-address-bar-using-get/#findComment-34778 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.