1. Navigation
  2. Content

» Curl HTTP 417 – Expectation Failed | Chris Mckee Designs, by Chris McKee, who'd of guessed | ChrisMcKee.co.uk


8 Responses to “ Curl HTTP 417 – Expectation Failed ”

  1. I rarely comment on blogs but yours I had to stop and say Great Blog!!

  2. Using the IXR PHP XML-RPC library would make this easier. It takes care of the transport level items (that you are using curl for) and allows you to focus on calling methods and processing the results.

    The IXR library ships with WordPress and is found at wp-includes/class-IXR.php.

  3. @JS Aye good point, but the blog I was targeting was actually on Wordpress.com rather then hosted. Usual case of Marketing v IT for getting things done; sometimes its quicker to go else where ;o)

    Thanks

  4. Woo, you just saved my skull. Cheers!

  5. oh men! this is great.. thanks for this line curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));

    this line saves me!!

  6. Wow thanks man, im one of those whom you saved a nasty headcache ;)

  7. hey...

    earlier I was able to work it properly but after changed my hosting it 's not working..

    it's showing faultCode 403 faultString Bad login/pass combination.

    there is all detail is correct I dont' know wht's prob there

    Can you help me out??

  8. @zappak: Try changing your password in what ever it is your trying to communicate with then remember to change iit in your script; if its not that then something went wrong with the service authentication process (403 faultString Bad login/pass combination.). Try changing the credentials or contacting your hosting support (as they should be able to test the same thing).

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <strong> <blockquote cite=""> <cite><del datetime=""> <em>, For Code use <code><pre lang="php">< ?php ... ?></pre></code>