php-general Digest 11 Jan 2012 23:20:53 -0000 Issue 7645
Topics (messages 316255 through 316255):
Curl problems
316255 by: Rick Dwyer
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin 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
--- End Message ---