Jump to content

about Tools:getValue() function and $_GET


Recommended Posts

i dev some module,this module will return some data,i need use the Tools:getValue() or $_GET。


this is the return url:http://jinber.com/module/alipay/return_page?buyer_email=langziyang%40yeah.net&notify_id=



so i use Tools::getVaule('notify_id') or $_GET['notify_id'] get the notify_id。

the echo this value,the display like this:




the string"52" is lost,why?

Link to comment
Share on other sites

Actually the string "25" is lost.


"%25" represents url encode of percent sign (%). So the string gets translated from ...K9%252Fvwbh... to ...K9%2Fvwbh...


Check what is the correct value of notify_id that should be returned. Maybe it is already encoded...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...