cURL Code : Help !

Discussion in 'PHP' started by priyakochin, Jun 24, 2007.

  1. #1
    Please check why this code is not working ?

    gurl.php

    test_gurl.php



    I am newbie in cURL.
    So can anyone find any error ?
     
    priyakochin, Jun 24, 2007 IP
  2. chuckd1356

    chuckd1356 Active Member

    Messages:
    770
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    70
    #2
    What's it give you for an error?

    Be more specific!
     
    chuckd1356, Jun 24, 2007 IP
  3. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #3
    For one thing this is not cUrl. The orginal creator named it gUrl.

    $fptr=fsockopen($site, $port, $errno, $errstr, $conntimeout);
    Code (markup):
    You trying to build a script that will automatically submit stuff to directory's?
     
    exodus, Jun 24, 2007 IP
  4. priyakochin

    priyakochin Banned

    Messages:
    4,740
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    0
    #4

    Yeah I want to try one !
     
    priyakochin, Jun 25, 2007 IP
  5. priyakochin

    priyakochin Banned

    Messages:
    4,740
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Its not working !

    Check this link where I host this script !

    http://galtech.us/c/
     
    priyakochin, Jun 25, 2007 IP
  6. UnrealEd

    UnrealEd Peon

    Messages:
    148
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you cannot place the http protocol in front of the url:
    http://directory.wtslink.com
    Code (markup):
    is wrong, you should use:
    directory.wtslink.com
    Code (markup):
     
    UnrealEd, Jun 25, 2007 IP
  7. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #7
    I'll see if I can dig up something I used a while ago to post varibles to a site using cUrl. I'll post it later tonight when I get home.
     
    exodus, Jun 25, 2007 IP