what PHP code is this?! SoS...

Discussion in 'PHP' started by omidse, Jun 24, 2006.

  1. #1
    this site uses other PHProxies ( their bandwidth )
    you know what the Code is?
    i really need it:confused:


    http://18jun.onaxy.com/
     
    omidse, Jun 24, 2006 IP
  2. bmelton

    bmelton Peon

    Messages:
    69
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I can't know exactly what they're doing, of course, but an easy way to approximate the same result would just be to use CURL:



    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $_POST["url"]);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_exec($ch);
    curl_close($ch);


    Then just set up a quick and dirty form (like theirs) to have a text field named "url", and include the above code onsubmit, perhaps in a seperate frame or something.
     
    bmelton, Jun 24, 2006 IP
  3. omidse

    omidse Peon

    Messages:
    741
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    didnt work!
     
    omidse, Jun 25, 2006 IP
  4. Jangro

    Jangro Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you trying to build your own site like this?

    Your PHP may not have curl support compiled in and enabled.
    Use

    <? phpinfo() ?>

    to check.
     
    Jangro, Jun 25, 2006 IP
  5. bmelton

    bmelton Peon

    Messages:
    69
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    And I'm afraid I'll need a little more than "didn't work" to troubleshoot. If it's giving an error, please post the error message, as well as the code you're using it in. Thanks.
     
    bmelton, Jun 25, 2006 IP
    sarahk likes this.
  6. omidse

    omidse Peon

    Messages:
    741
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #6
    as ya said i made a form and pointed the code to it
    but when i write something in the form and click the...
    nothing is happenig
    please give the whole Code
     
    omidse, Jun 26, 2006 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,821
    Likes Received:
    4,539
    Best Answers:
    123
    Trophy Points:
    665
    #7
    I doubt you'll get someone to give you the whole code if you're not prepared to help yourself even a teensy bit.

    Go to www.php.net/curl and see if you spot the problem. Or visit sourceforge.net or PhpClasses to see they have a script that someone has written to do the job for you
     
    sarahk, Jun 26, 2006 IP
  8. bmelton

    bmelton Peon

    Messages:
    69
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'm guessing if 'nothing' is happening when you click the form, and you can't provide any more detail, then check the basics of whether or not your form is created correctly.
     
    bmelton, Jun 26, 2006 IP
  9. omidse

    omidse Peon

    Messages:
    741
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #9
    can you help me
    and just attach the whole code and the site?
     
    omidse, Aug 2, 2006 IP
  10. rlynch

    rlynch Peon

    Messages:
    248
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    can someome make me a site too?
     
    rlynch, Aug 2, 2006 IP
  11. gamesproxy

    gamesproxy Peon

    Messages:
    270
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #11
    This is beyond easy to do :D If you want something like this i can make it for $25 however it will be random.
     
    gamesproxy, Aug 2, 2006 IP
  12. omidse

    omidse Peon

    Messages:
    741
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #12
    thats ok
    but first make a sample
     
    omidse, Aug 2, 2006 IP