note 71409 modified in ref.curl by danbrown

From: Date: Sun, 17 May 2009 19:20:31 +0000
Subject: note 71409 modified in ref.curl by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155225@lists.php.net to get a copy of this message
I was having problems with Authorize.net and the SSL cert matching even after adding: <?php curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); ?> What I found after a lot of stumbling was I needed to set VERIFYHOST to FALSE. So if you are still have a problem with Authorize.NET SSL and cURL add this: <?php curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); ?> --was-- I was having problems with Authorize.net and the SSL cert matching even after adding: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); What I found after a lot of stumbling was I needed to set VERIFYHOST to FALSE. So if you are still have a problem with Authorize.NET SSL and cURL add this: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); http://php.net/manual/en/ref.curl.php

« previous php.notes (#155225) next »