Net_EPP_Client.php

Net_EPP_Client is a PHP class that implements a high-level EPP client for PHP applications. It manages connections and frame handling in an easy-to-use way.

The layout of the Net_EPP_Client class is very similar to that of the Net::EPP::Client Perl module, which is also developed by CentralNic.

Download

The current release is php-Net_EPP_Client-0.0.3.tar.gz (May 25, 2007).

Example Usage

<?php

require('Net/EPP/Client.php');

$host 'epp.nic.tld';
$port 700;
$timeout 10;
$ssl true;

$epp = new Net_EPP_Client;

$greeting $epp->connect($host$port$timeout$ssl);

$epp->sendFrame('<epp><login><clID>foobar</clID><pw>secret</pw></login></epp>');

$answer $epp->getFrame();

$epp->disconnect();

?>

Documentation

PHPdoc-generated documentation for this class is available here.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Contact

The address for all queries is .

Click here for engineering and software development jobs at CentralNic