note 75458 deleted from ref.curl by danbrown

From: Date: Sun, 17 May 2009 19:17:22 +0000
Subject: note 75458 deleted from ref.curl by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155220@lists.php.net to get a copy of this message
Note Submitter: pyroevi at yahoo dot com ---- Earlier I posted about using php to interface with an authorize.net gateway. I accidentally made a mistake in my code. Instead of: curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($AuthNetConn, CURLOPT_CAINFO, "path:/ca-bundle.crt"); It should be curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($connection, CURLOPT_CAINFO, "path:/ca-bundle.crt"); Whatever you call that first connection variable, it needs to be the same in both statements. Sorry about that.

« previous php.notes (#155220) next »