PHP / Curl issues, should be a quick fix. WTH

Discussion in 'Programming' started by -bank-, Feb 21, 2009.

  1. #1
    Dear All,
    The error occuring is this:

     Fatal error:  Class 'CurlPost' not found in /home/freerapi/public_html/directtrack.php on line 218
    PHP:
    The code around the error is:

    private function DTLogin(){
    
    $url = "https://$this->site/index.html";
    $post = "DL_AUTH_USERNAME=$this->login&DL_AUTH_PASSWORD=$this->password";
    
    $ch = new CurlPost($url,$post);
    $ch->setCookie($this->cookiefile);
    $ch->SSL();
    $c_out = $ch->execute();
    unset($ch);
    if(1){ //parse for successful login
    $this->loggedin = true;
    }
    return $c_out;
    }
    PHP:
    And the error occurs on line $ch = new CurlPost($url,$post);

    Looking for some one to fix, shouldn't take to long, looking for offers, the script may have some other bugs, so if some one is available to help I am willing to pay.

    Thanks
     
    -bank-, Feb 21, 2009 IP
  2. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Please PM me all info regarding the files. I am expert in CURL (you can check my itrader for that :) ) and can easily solve this problem for you. Thanks :)
     
    harrisunderwork, Feb 21, 2009 IP
  3. akosipau

    akosipau Active Member

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    include the CurlPost class
     
    akosipau, Feb 21, 2009 IP
  4. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Work was complete successfuly, payment was received, just waiting for itrader.

    Thanks :)
     
    harrisunderwork, Apr 10, 2009 IP