I have a javascript which sends some specific information to a PHP api . Before to send it performs encodeURI . How can I \"decode\" it in PHP ? I understand that urldecode/
Use encodeURIComponent in Javascript: http://www.w3schools.com/jsref/jsref_encodeuricomponent.asp and urldecode in PHP: http://php.net/manual/en/function.urldecode.php