broncozr
06-04-2010, 04:13 PM
I'm sending data that I JavaScript "escape()" from one page to another using an AJAX XMLHttpRequest. When it gets to the other PHP page, I would like to JavaScript "unescape()" that data. On the 2nd PHP page, I'm basically writing out an XML page (using PHP), from which I get several variables to return to the first page.
My question is how do I JavaScript "unescape()" the variables on the 2nd page so that I can use them in PHP. PHP is doing all of the work on the variables on the 2nd page. So, I'm basically trying to get my hands on a JavaScript-unescaped() version of the PHP $_REQUEST variables.
Any suggestions?
Thanks.
My question is how do I JavaScript "unescape()" the variables on the 2nd page so that I can use them in PHP. PHP is doing all of the work on the variables on the 2nd page. So, I'm basically trying to get my hands on a JavaScript-unescaped() version of the PHP $_REQUEST variables.
Any suggestions?
Thanks.