1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to use this code?

Discussion in 'General Programming Chat' started by Snckr, Mar 4, 2014.

  1. Snckr

    Snckr BANNED BANNED

    Joined:
    Dec 27, 2013
    Messages:
    582
    Likes Received:
    381
    Code:
    new Image().src = 'http://xxx.xxx.xxx/xxxxxx';
    
    
    xxx
    xxxx
    xxx
    xx
    xxxxx
    xxxxxx
    xxxxx
    xx
    }
    

    I found this code raw on a website, just on domain.com/ajax/xxxx.php

    How would I wrap or use this? I've tried wrapping in PHP and uploading but it failed :(

    Thanks.
     
  2. Schvamp

    Schvamp Power Member

    Joined:
    Feb 13, 2012
    Messages:
    684
    Likes Received:
    549
    Location:
    Hogwarts
    Use it for what? It's broken.
     
  3. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,111
    Likes Received:
    1,712
    Location:
    Banana Republic
    It looks like Javascript code. Just wrap it in a function and call it on an event.
     
    • Thanks Thanks x 1