如何解码php中的url,其中url用encodeURIComponent()编码 [英] How to decode the url in php where url is encoded with encodeURIComponent()
本文介绍了如何解码php中的url,其中url用encodeURIComponent()编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何解码php中url用encodeURIComponent()编码的url?
How to decode the url in php where url is encoded with encodeURIComponent()?
我已经尝试了urldecode()但是也..我没有编码的网址...
I have tried the urldecode() but then also..i don't the url which i have encoded...
我必须在php中这样做..
I have to do this in php..
推荐答案
你应该使用 rawurldecode( )
。
请参阅手册
这篇关于如何解码php中的url,其中url用encodeURIComponent()编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文