Re: Version 2.6.1 of OpenSRS-PHP class

From: Colin Viebrock (colin@easydns.com)
Date: Tue Jan 07 2003 - 10:53:37 EST


> Are you likely to be working on a version that includes TPP support for
> things like certs?
>
> I'm not sure how hard it is to implement TPP, since it looks very
> similar to XCP, but I don't want to re-invent the wheel if someone is
> kindly providing an open source version.

According to the API spec I have, this should work with an
out-of-the-box install of my class:

        <?php

        require_once 'openSRS.php';

        $O = new openSRS('live');

        $cmd = array(
                'action' => 'buy',
                'object' => 'webcert',
                'email' => 'colin@easydns.com',
                'quantity' => 1,
                'phone' => '416-555-1212',
                'contact' => 'Colin Viebrock',
                'org' => 'easyDNS Technologies',
                'needs_reseller' => 1,
        }

        $result = $O->send_cmd($cmd);

        ?>

- Colin



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:33 EDT