Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts

    urldecode problem

    this is not working :

    PHP Code:
    $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&CURRENCYCO DE=USD1");
    this gives me desired result.

    any help?


    thanks

  • #2
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    Can't tell without knowing what $result is in the first place

  • #3
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts
    try htmlspecialchars(urldecode($result));


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •