Re: Browser Compatibility
by Nik Gare <nik(at)cheddarcheese.de>
|
Date: |
Thu, 18 Jan 2001 11:45:38 +0100 |
To: |
Susan Bishop <aka_susanb(at)yahoo.com>, "HWG Languages" <hwg-languages(at)hwg.org> |
References: |
yahoo rr |
|
todo: View
Thread,
Original
|
|
In article <009701c080ff$1b8e4ba0$c9d85d18(at)neo.rr.com>, Steve Cost
<scost(at)neo.rr.com> wrote:
> If I am not mistaken, this is a case where Netscape does not like
> passed parameters with embedded spaces. If you are using VBScript is
> ASP, do this: varMain = "Male Shaving and Grooming" varMain =
> server.URLEncode(varMain) <.A href ..............jsp?<%=varMain%>"> IF
> not ASP, maybe use 'Male+Shaving+and+Grooming', and strip the "+" at
> the other end. HTH, Steve
I know that in PHP there are funtions urlencode() and urldecode() which
would put the '+'s in the string and then strip them out again.
ie: <A href ="SubGroup2.jsp?<? echo urlencode($string); ?>">Test link</A>
and then in the SubGroup2.jsp script have $string = urldecode($string);
Presumably there are similar functions in the language you are using?
Nik
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA