1
0
mirror of https://github.com/php/php-src.git synced 2026-04-12 02:23:18 +02:00

Minor changes and clean up.

This commit is contained in:
Evan Klinger
1999-12-07 01:17:25 +00:00
parent 0d993a8c42
commit 540f780735

View File

@@ -1,11 +1,12 @@
<?php
/*********************************************************************
* Cyberlib - (C) American Metrocomm Internet Services *
* by Timothy Whitfield <timothy@ametro.net> *
* *
* PHP Cybercash API - This requires that php3_mckcrypt.c be *
* compiled in along with libmckcrypt from the Cybercash *
* MCK 3.2.0.3 *
* PHP Cybercash API - This requires that CyberCash support be *
* compiled. *
* *
* *
* This is an attempt to duplicate the cybercash API for PHP3 *
* users. *
@@ -52,7 +53,7 @@
$pairs_length=strlen($encrypted_pairs);
$message=sprintf("POST %s/%s HTTP/1.0\r\n",$url["path"],$merchant);
$message.=sprintf("User-Agent: CCMCK-%s\r\n","3.2.0.3");
$message.=sprintf("User-Agent: CCMCK-%s\r\n","3.2.0.5");
$message.="Content-type: application/x-www-form-urlencoded\r\n";
$message.=sprintf("Content-length: %d\r\n",$pairs_length);
$message.="\r\n";