note 9440 added to Verisign Payflow Pro functions

From: Date: Fri, 03 Nov 2000 09:06:42 +0000
Subject: note 9440 added to Verisign Payflow Pro functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-7338@lists.php.net to get a copy of this message
Also does not work if PHP is compiled with --with-ftp: ftp_nlist() and ftp_rawlist cause PHP to crash. Below is a quick-fix to run pfpro as a shell command: function pfpro_shell($arFields) { $signio_cmd = "/usr/local/signio/pfpro 167.216.177.45 443 \""; foreach($arFields as $key=>$val) $signio_cmd .= $key . "=" . urlencode($val) . "&"; $signio_cmd .= "\""; $signio_result = exec($signio_cmd); parse_str($signio_result,$arResult); if (!isset($arResult["RESULT"])) die ("Exec command failed to return proper result"); return($arResult); } http://www.php.net/manual/ref.pfpro.php

« previous php.notes (#7338) next »