Skip to content

Commit 540f780

Browse files
author
Evan Klinger
committed
Minor changes and clean up.
1 parent 0d993a8 commit 540f780

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ext/cybercash/cyberlib.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/*********************************************************************
34
* Cyberlib - (C) American Metrocomm Internet Services *
45
* by Timothy Whitfield <timothy@ametro.net> *
56
* *
6-
* PHP Cybercash API - This requires that php3_mckcrypt.c be *
7-
* compiled in along with libmckcrypt from the Cybercash *
8-
* MCK 3.2.0.3 *
7+
* PHP Cybercash API - This requires that CyberCash support be *
8+
* compiled. *
9+
* *
910
* *
1011
* This is an attempt to duplicate the cybercash API for PHP3 *
1112
* users. *
@@ -52,7 +53,7 @@ function SendCCServer($merchant,$merchant_key,$url,$CCNVList)
5253
$pairs_length=strlen($encrypted_pairs);
5354

5455
$message=sprintf("POST %s/%s HTTP/1.0\r\n",$url["path"],$merchant);
55-
$message.=sprintf("User-Agent: CCMCK-%s\r\n","3.2.0.3");
56+
$message.=sprintf("User-Agent: CCMCK-%s\r\n","3.2.0.5");
5657
$message.="Content-type: application/x-www-form-urlencoded\r\n";
5758
$message.=sprintf("Content-length: %d\r\n",$pairs_length);
5859
$message.="\r\n";

0 commit comments

Comments
 (0)