note 77939 added to ref.curl

From: Date: Thu, 20 Sep 2007 16:09:30 +0000
Subject: note 77939 added to ref.curl
Groups: php.notes 
Request: Send a blank email to php-notes+get-130635@lists.php.net to get a copy of this message
a few notes regarding the paymentech solution posted above by "ksavage". to work properly, two changes are required (at least they were for my system/account). first, the content-type (in header) should read: "Content-type: application/PTI40\r\n"; .. and NOT (PTI26) second, the following needs to be added to the script (where the curl options are stated): curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0) ...otherwise, paymentech will ask for SSL certificate. ---- Server IP: 64.71.164.2 Probable Submitter: 65.95.123.68 ---- Manual Page -- http://www.php.net/manual/en/ref.curl.php Edit -- https://master.php.net/note/edit/77939 Del: integrated -- https://master.php.net/note/delete/77939/integrated Del: useless -- https://master.php.net/note/delete/77939/useless Del: bad code -- https://master.php.net/note/delete/77939/bad+code Del: spam -- https://master.php.net/note/delete/77939/spam Del: non-english -- https://master.php.net/note/delete/77939/non-english Del: in docs -- https://master.php.net/note/delete/77939/in+docs Del: other reasons-- https://master.php.net/note/delete/77939 Reject -- https://master.php.net/note/reject/77939 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130635) next »