...

View Full Version : urldecode problem



dizyn
08-22-2007, 04:04 PM
this is not working :


$result = urldecode($result);
echo $result;

this gives me unchanged string

but this is working:

echo urldecode("TIMESTAMP=2007%2d08%2d22T14%3a00%3a08Z&CORRELATIONID=d9eee6027179f&ACK=Success&VERSION=3%2e000000&BUILD=1%2e0006&AVSCODE=X&CVV2MATCH=M&TRANSACTIONID=0BU25574R8136412E&AMT=19%2e95&CURRENCYCODE=USD1");
this gives me desired result.

any help?


thanks

Pennimus
08-22-2007, 04:35 PM
Can't tell without knowing what $result is in the first place :thumbsup:

rafiki
08-22-2007, 05:25 PM
try htmlspecialchars(urldecode($result));



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum