Curl problems
| From: | Rick Dwyer | Date: | Wed, 11 Jan 2012 23:20:37 +0000 |
| Subject: | Curl problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-316255@lists.php.net to get a copy of this message | ||
Hello all.
I use curl to make a call to another page on my site... but it operates erroneously.... sometimes working... sometimes not. The page it calls creates an email and I can see on the server the email in the queue when it's working. If I echo out the URL the curl command is supposed to load and load it manually, it works without fail.
Any help on what I am doing wrong below is greatly appreciated.
Thanks.
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'https://mydomain.com/email_confirmation.htm?id_order='.$id_order.'&sess_id='.$sess_id);
curl_exec($curl_handle);
curl_close($curl_handle);
--Rick