PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Brant Messenger   3SS CPanel   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: 3SS CPanel
Manage CPanel hosting accounts
Author: By
Last change: Changed name of require string
Date: 18 years ago
Size: 457 bytes
 

Contents

Class file image Download
<?php
require("threesscpanel.class.inc");

$user = "{RESELLERorACCOUNT}";
$hash = '{HASH}';

$cp = new threessCPANEL($user,$hash);
// Uncomment to use
//$cp->createAccount("test.domain.com","account","test","{PACKAGE}");
//$cp->suspendAccount("account");
//$cp->killAccount("account");

echo implode("<br />",$cp->version);
echo
implode("<br />",$cp->accounts);
echo
implode("<br />",$cp->packages);
echo
implode("<br />",$cp->domains);
?>