R
Robert Oschler
There are time when I like to pass strings from PHP server side code to one
of my web pages that takes a message from a search argument on the URL line
(GET). The decodeURI() call does not fully decode the message. For
example, it misses spaces ('+') and at-signs ('@'), the former are untouched
and the latter are not decoded from %40.
There may be more but that's a short list. Does anyone have a Javascript
call to undo the effects of PHP URL argument encoding?
thx
of my web pages that takes a message from a search argument on the URL line
(GET). The decodeURI() call does not fully decode the message. For
example, it misses spaces ('+') and at-signs ('@'), the former are untouched
and the latter are not decoded from %40.
There may be more but that's a short list. Does anyone have a Javascript
call to undo the effects of PHP URL argument encoding?
thx