You can just parse it as a list of lists. The main list is a list
delimited by &. The sub lists are delimited by =. You would need to
urlDecodedFormat() on the right hand side.

Oh, and the variable itself comes from cgi.query_string.

On 5/5/06, Tuan Tran <[EMAIL PROTECTED]> wrote:
> Hi Everybody,
>
> I'm trying to get the name/value pair from url variables.  Lets say I have a 
> url like this:
>
> http://someurlhere.com?Src=blahblah&storyID=1234
>
> Now if I do the following I'll get the name/value pair of the URL vars:
>
> <cfloop collection=#url# item="urlVar">
>   <cfoutput>#urlVar# = #url[urlVar]#</cfoutput><br />
> </cfloop>
>
> My problem is the name element doesn't keep the same case as the actualy url 
> variable name.  Src and storyID gets displayed as SRC and STORYID in the 
> output.  How can I keep the case the same when I loop thru the URL structure?
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to