Jump to content

Archived

This topic is now archived and is closed to further replies.

darga333

is it possible to pass the & symbol to the address bar using GET

Recommended Posts

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 differnetly

filedownnload.php?action=download&filename=getWebsiteUp&ampRunning.doc

Share this post


Link to post
Share on other sites
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%26jerry

should process $_GET['val'] as tom&jerry

Share this post


Link to post
Share on other sites
[!--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 ;-)

Share this post


Link to post
Share on other sites
gah! i'm sorry! [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]

Share this post


Link to post
Share on other sites
[!--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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.