再说php urlencode urldecode
说多了都是泪,curl调用远程api接口, client端进行urlencode, 在server端urldecode后确实错的, 翻了一下php的手册,原来php对超全局变量$_GET $_REQUEST已经做了解码操作了,无需再次解码.ps:$_COOKIE需要urldecode!!!
http://s3.运维网.com/wyfs02/M01/85/DB/wKioL1esZh6Q_rkeAAEAXvML56Y232.png-wh_500x0-wm_3-wmp_4-s_2455331633.png
页:
[1]