Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

still a cookie problem

Help
kinhunt
2006-01-15
2013-05-30
  • kinhunt
    kinhunt
    2006-01-15

    I used the following codes to login to dialog.com, the server response 'Please configure your browser to accept cookies.',can you give me some suggests?

    require_once 'HttpClient.php';
    $remote=new HttpClient("toolkit.dialog.com");
    $remote->setDebug(true);
    $params = array(
    "Mode"=>"3",
    "Userid"=>"id",
    "Password"=>"password",
    );
    $remote->post("/intranet/cgi/logon.cgi",$params);
    $pageContents =$remote->getContent();
    $result = explode(',', $pageContents);
    print_r($result);

     

  • Anonymous
    2011-05-30

    Can you share your solution?

    I also need to login to the site from my script and I don't have idea how.

    Thanks.