2009年11月17日星期二

Re: [fw-mvc] a challenging problem

cawa, I did try it. But it did not work!

It is not identical to js method encodeURIcomponent. 

2009/11/17 Саша Стаменковић <umpirsky@gmail.com>
Why not use PHP functions urldecode and urlencode?

Regards,
Saša Stamenković



On Tue, Nov 17, 2009 at 2:58 PM, huajun qi <qihjun@gmail.com> wrote:
I want to post some data including url such as:"url=www.google.com?query=123$t=now", I my controller, what i need to do to get right url parameter?

If I want to post many urls ,such as a.html, b.html, c.html, which way is best to post them?

Now i json_cncode a url array to a string ,then encodeURIcomponent the str and post it, but in my controller, I can not get the right string, i have to stripslashed it to get the right string. Does zend support decodeURIcomponent?

--
Location:




--
Location:

没有评论: