views:

169

answers:

1

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..

+2  A: 

You should use rawurldecode().
See the manual at http://www.php.net/manual/fr/function.rawurldecode.php

michal kralik