Jump to content

how to decode strings that was encoded using js


seco

Recommended Posts

i don;t know what function used i just get the data and i ahave to work with it but this  site work well with me in decoding

http://meyerweb.com/eric/tools/dencoder/

 

rawurldecode don't do thing with me

i try to decode an array like this

 

foreach($_POST as $k => $v) {

        array_push($params, getValue("POST", $k));

}

 

$params = array_values($params);

rawurldecode($params);

 

is there is something wrong ?

Link to comment
Share on other sites

Well here you say you have encoded a string, post how you did that.

 

Hi

i have encoded string using javascript and i want to decode it before saving it to db the string looks like

%u0645%u062E%u062A%u0627%u0631%20

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.