Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 12114

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>CCVS API 函数(已废弃)</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="函数参考"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="unixtojd"
HREF="function.unixtojd.html"><LINK
REL="NEXT"
TITLE="ccvs_add"
HREF="function.ccvs-add.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.unixtojd.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.ccvs-add.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.ccvs"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>XI. CCVS API 函数(已废弃)</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN16392"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ccvs.intro"
>简介</A
></H1
><P
>&#13;    These functions interface the CCVS API, allowing you to work
    directly with CCVS from your PHP scripts.  CCVS is <A
HREF="http://www.redhat.com/"
TARGET="_top"
>RedHat's</A
> solution to the "middle-man"
    in credit card processing.  It lets you directly address the
    credit card clearing houses via your *nix box and a modem.  Using
    the CCVS module for PHP, you can process credit cards directly
    through CCVS via your PHP Scripts.  The following references will
    outline the process.
   </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>注意: </B
>
     CCVS has been discontinued by Red Hat and there are no plans
     to issue further keys or support contracts. Those looking for a 
     replacement can consider 
     <A
HREF="http://www.mainstreetsoftworks.com/"
TARGET="_top"
>MCVE by Main Street Softworks</A
>
     as a potential replacement. It is similar in design and has documented
     PHP support!
    </P
><P
>&#13;     This extension has been removed from PHP and is no
     longer available as of PHP 4.3.0. If you want to use credit card
     processing features you can use <A
HREF="ref.mcve.html"
>MCVE</A
>
     instead.
    </P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ccvs.installation"
>安装</A
></H1
><P
>&#13;  To enable CCVS Support in PHP, first verify your CCVS installation
  directory.  You will then need to configure PHP with the <CODE
CLASS="option"
>--with-ccvs</CODE
> option. If you use this
  option without specifying the path to your CCVS installation, PHP
  will attempt to look in the default CCVS Install location
  (<TT
CLASS="filename"
>/usr/local/ccvs</TT
>). If CCVS is in a non-standard location,
  run configure with: <CODE
CLASS="option"
>--with-ccvs=[DIR]</CODE
>, where
  DIR is the path to your CCVS installation. Please note that CCVS support
  requires that DIR/lib and DIR/include exist, and include
  <TT
CLASS="filename"
>cv_api.h</TT
> under the include directory and
  <TT
CLASS="filename"
>libccvs.a</TT
> under the lib directory.
 </P
><P
>&#13;  Additionally, a ccvsd process will need to be running for the configurations
  you intend to use in your PHP scripts. You will also need to make sure the PHP
  Processes are running under the same user as your CCVS was installed as (e.g.
  if you installed CCVS as user 'ccvs', your PHP processes must run as 'ccvs' as
  well.)
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ccvs.seealso"
>参见</A
></H1
><P
>&#13;    RedHat has discontinued support for CCVS; however, a slightly
    outdated manual is still available at
    <A
HREF="http://www.redhat.com/docs/manuals/ccvs/"
TARGET="_top"
>http://www.redhat.com/docs/manuals/ccvs/</A
>. 
   </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>目录</B
></DT
><DT
><A
HREF="function.ccvs-add.html"
>ccvs_add</A
>&nbsp;--&nbsp;Add data to a transaction</DT
><DT
><A
HREF="function.ccvs-auth.html"
>ccvs_auth</A
>&nbsp;--&nbsp;Perform credit authorization test on a transaction</DT
><DT
><A
HREF="function.ccvs-command.html"
>ccvs_command</A
>&nbsp;--&nbsp;
   Performs a command which is peculiar to a single protocol, 
   and thus is not available in the general CCVS API 
 </DT
><DT
><A
HREF="function.ccvs-count.html"
>ccvs_count</A
>&nbsp;--&nbsp;
   Find out how many transactions of a given type are stored in the system 
 </DT
><DT
><A
HREF="function.ccvs-delete.html"
>ccvs_delete</A
>&nbsp;--&nbsp;Delete a transaction</DT
><DT
><A
HREF="function.ccvs-done.html"
>ccvs_done</A
>&nbsp;--&nbsp;Terminate CCVS engine and do cleanup work</DT
><DT
><A
HREF="function.ccvs-init.html"
>ccvs_init</A
>&nbsp;--&nbsp;Initialize CCVS for use</DT
><DT
><A
HREF="function.ccvs-lookup.html"
>ccvs_lookup</A
>&nbsp;--&nbsp;
   Look up an item of a particular type in the database #
 </DT
><DT
><A
HREF="function.ccvs-new.html"
>ccvs_new</A
>&nbsp;--&nbsp;Create a new, blank transaction</DT
><DT
><A
HREF="function.ccvs-report.html"
>ccvs_report</A
>&nbsp;--&nbsp;Return the status of the background communication process</DT
><DT
><A
HREF="function.ccvs-return.html"
>ccvs_return</A
>&nbsp;--&nbsp;
   Transfer funds from the merchant to the credit card holder 
 </DT
><DT
><A
HREF="function.ccvs-reverse.html"
>ccvs_reverse</A
>&nbsp;--&nbsp;
   Perform a full reversal on an already-processed authorization 
 </DT
><DT
><A
HREF="function.ccvs-sale.html"
>ccvs_sale</A
>&nbsp;--&nbsp;
   Transfer funds from the credit card holder to the merchant
 </DT
><DT
><A
HREF="function.ccvs-status.html"
>ccvs_status</A
>&nbsp;--&nbsp;Check the status of an invoice</DT
><DT
><A
HREF="function.ccvs-textvalue.html"
>ccvs_textvalue</A
>&nbsp;--&nbsp;Get text return value for previous function call</DT
><DT
><A
HREF="function.ccvs-void.html"
>ccvs_void</A
>&nbsp;--&nbsp;
   Perform a full reversal on a completed transaction 
 </DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.unixtojd.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.ccvs-add.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>unixtojd</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>ccvs_add</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>