Thread: help getting parameters from url
- 05-18-2011 08:49 PM #1Junior Member Array
- Join Date
- May 2011
- Posts
- 1
- Thanks
- 0
- Thanked 0 Times in 0 Posts
help getting parameters from url
Hi all,
I need to get a parameter from an url, but the GET variables are passed through urldecode().
Some of my variables may have characters such as "+", ":", spaces, etc.
When I use GET, all "+" are converted to spaces. I can use urlencode to get the "+" back, but also everything that was previously a space also turns into "+".
Example:
variable = abc+ c+:d
Then I can get either:
abc c :d
or
abc++c+:d
but I want to get abc+ c+:d
Would anybody know how to help me?
Thanks!
- 05-20-2011 05:02 AM #2WTF Groupie Array
- Join Date
- May 2011
- Posts
- 108
- Thanks
- 1
- Thanked 1 Time in 1 Post
-
- 05-20-2011 05:08 AM #3WTF Senior Array
- Join Date
- Nov 2009
- Posts
- 1,262
- Thanks
- 2
- Thanked 11 Times in 11 Posts








LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks