Passing URL variables with non-URL-friendly characters

25Oct06

When passing information via URL variables, we have to be careful that those variables do not contain non-URL-friendly characters. This includes spaces and non-alpha-numeric characters…
to be able to pass this characters, you have to first convert it to URL-safe hexadecimal escape characters…

And to do that, just use the URL encode function..

In classic Asp and Asp.Net:
Server.UrlEncode()

In classic PHP:
urlencode()

In classic Coldfusion:
URLEncodedFormat()


No Responses to “Passing URL variables with non-URL-friendly characters”  

  1. No Comments

Leave a Reply



Calendar

October 2006
M T W T F S S
« Aug   Nov »
 1
2345678
9101112131415
16171819202122
23242526272829
3031