Nitz Nitz - 1 year ago 163
Javascript Question

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

Hey Guys,
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..

Answer Source

You should use rawurldecode().
See the Manual

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download