note 9440 deleted from ref.pfpro by jimw

From: Date: Tue, 18 Dec 2001 20:59:38 +0000
Subject: note 9440 deleted from ref.pfpro by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23224@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); }

« previous php.notes (#23224) next »