Stolen blatantly from an old list post from somebody

<!--- Loop over the collection and create a list --->
<cfloop collection="#URL#" item="urlParam">
<cfset Temp = ListAppend(Temp,"#urlParam#=#url[urlParam]#")>
</cfloop>

works nicely. I use it in a couple of my log actions to generate alist to be
appended to my logfiles.

Not sure about the particular problem. I've used cgi.query_string
successfully in the past for multiple name/value pairs successfully I'm
sure.

Cheers
Sean

----- Original Message -----
From: "Brett Payne-Rhodes" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 2:51 PM
Subject: [cfaussie] Re: CGI.QUERY_STRING


> Not sure about cgi but within CF you can loop over the 'url' collection
> to get all the URL varaibles. Does that help?
>
> Brett
> B)
>
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > It seems that cgi.query_string only returns the first url variable name
> > and value from a url regardless of how many other variables exist in the
> > url.
> >
> > eg. cgi.query_string returns only "studcode=123456" from the following
url:
> >
> > http://www.myurl.com/somepage.cfm?studcode=123456&area=23&allowance=69
> > <http://www.myurl.com/somepage.cfm?studcode=123456&area=23&allowance=69>
> >
> > is there another cgi var i am missing that will return
> > "studcode=123456&area=23&allowance=69"? or do i need to check for a
> > len(cgi.query_string) and return everything after the question mark?
> >
> > thanks.... steve c
> >
>
>
> --
> Brett Payne-Rhodes
> Eaglehawk Computing
> t: +61 (0)8 9371-0471
> f: +61 (0)8 9371-0470
> m: +61 (0)414 371 047
> e: [EMAIL PROTECTED]
> w: www.ehc.net.au
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to