Re: URL encode/decode problem

From: Date: Mon, 13 Sep 2004 14:21:48 +0000
Subject: Re: URL encode/decode problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-196505@lists.php.net to get a copy of this message
It will not work - Javascript function "escape()" return string as unicode data - something like "%u0431%u043E%u044F". And I don't know how to "decode" these data as "normal" chars. "Greg Donald" <destiney@gmail.com> wrote in message news:ea9da26c040913071481c5797@mail.gmail.com... > On Mon, 13 Sep 2004 16:51:59 +0300, Rosen <rosen@pernikinfo.com> wrote: > > I have follow problem: One form whitch send some text fields to my PHP > > script. But before send data, the form makes > > javascript command "escape" for text fields. The text fields may contain > > characters "+", quotes, etc. > > The form post data with "GET" method. And then I can't get correctly posted > > data in my PHP script. How to "unescape" data with PHP? > > > > Can someone help me ? > > stripslashes() perhaps? > > > > -- > Greg Donald > http://destiney.com/

« previous php.general (#196505) next »