Results 1 to 2 of 2

Thread: Connecting to remote servers (PHP / Thrift)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    44

    Default Connecting to remote servers (PHP / Thrift)

    Is anyone using the Thrift libraries -- or anything else calling out to another server from here ?

    I’m working with the EverNote SDK (PHP) and I have not been able to receive remote data. Everything works fine on both my local server and another server, but even a stripped down version of the sample app fails here.

    PHP Code:
    <?php
    $userStoreHttpClient 
    = new THttpClient('sandbox.evernote.com''443'"/edam/user"'https');
    $userStoreProtocol = new TBinaryProtocol($userStoreHttpClient);
    $userStore = new UserStoreClient($userStoreProtocol$userStoreProtocol);

    // do something simple and check the protocol version (returns true or false).
    $versionOK $userStore->checkVersion("Evernote EDAMTest (PHP)"121);

    //  <----- it never returns here. But gets stuck reading in ttransport.php
    ?>
    I’m convinced it’s something with the environment, but what?
    Last edited by chrisd; 07-19-2012 at 09:11 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •