[HELP] Decode \x61s\

Discussion in 'PHP' started by thesurface, Aug 13, 2010.

  1. #1
    I need to know how to decode it :(

    
    <?php 
    echo "\x61s\144as\x61s\x64";
    ?>
    
    PHP:
    ----------------------------------
    This is what was encoded:
    <?php 
    echo "asdasasd";
    ?>
    
    PHP:

     
    thesurface, Aug 13, 2010 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    If I have to guess, those are probably ASCII values, in Hex or Octal. I'm not sure but PHP somehow interpret everything after \x
     
    Rainulf, Aug 13, 2010 IP
  3. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #3
    Use stripcslashes()
     
    danx10, Aug 13, 2010 IP
  4. thesurface

    thesurface Active Member

    Messages:
    260
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #4
    not works woth php submit form ?

     
    thesurface, Aug 13, 2010 IP