| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2004-02-19 19:23 UTC] iliaa@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 13:00:02 2025 UTC | 
Description: ------------ I am using PHP and CURL to send/recevie XML data from a website using https. The response is Intermittent. Some times I get the response right away. Some time I dont get the response, and it times out. Does any one have this problem? PHP version : mod_php4-4.3.4_2,1 Curl version ; curl-7.10.7 Open SSL version is : openssl-0.9.7b_1 Please shed some light on this, so that I can continue building my site. Here is the code I am trying..... $httpURL = https://www.mysite.com/; curl_setopt ($ch, CURLOPT_URL,$httpURL); curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 1); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_HTTPHEADER, $httpHeaders ); // Set the Headers curl_setopt($ch, CURLOPT_POST, 1); // POST Method curl_setopt($ch, CURLOPT_POSTFIELDS, $httpBody); //My XML Request curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, '1'); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $httpResponse = curl_exec ($ch); //Send the request