[thelist] url variables

.jeff jeff at members.evolt.org
Thu Sep 26 15:06:01 CDT 2002


ryan,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Ryan Carmody
>
> Is there a way to pass a url var with value equal to a
> string that contains equal signs and ampersands so that
> that string value isn't seen as separate vars and
> values.  Here's what I'm trying to do, pass this in the
> url, return_page=read.cfm?email_ID=384&folder_ID=1&
> sort_by=date_time_io&sort_order=1, and have return_page
> get set to the string 'read.cfm?email_ID=384&folder_ID=1
> &sort_by=date_time_io&sort_order=1'.  Is this possible?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

it sure is.  you just need to escape or encode the string first.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I'm trying to do this with js [...]
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

escape(string);

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> [...] and cf.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

URLEncodedFormat(string)

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list