Skip to content
Advertisement

How to decode the url in php where url is encoded with encodeURIComponent()

How to decode the url in php where url is encoded with encodeURIComponent()?

I have tried the urldecode() but then also..i don’t the url which i have encoded…

I have to do this in php..

Advertisement

Answer

You should use rawurldecode().
See the Manual

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement