Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

17
  • 1
    What happens when you go to this URL in your browser? Commented Apr 23, 2012 at 18:27
  • @tandu - I can't add the whole url to the address bar, since the content is a lot of HTML text. But when I add the url to the browser without the POST values the browser opens the page fine Commented Apr 23, 2012 at 18:30
  • The URL is http or https? When using HTTPs you should ensure CURL is prepared to handle it using CURLOPT_SSL_VERIFYPEER as false. Commented Apr 23, 2012 at 18:58
  • 1
    @Roland There is also a CURLOPT_SSL_VERIFYHOST, please try setting it to false as well. Commented Apr 23, 2012 at 20:24
  • 1
    @Roland: Please try to increase the connect timeout: curl_setopt ($c, CURLOPT_CONNECTTIMEOUT , 10); Commented Apr 25, 2012 at 11:02