PHP Classes

File: examples.php

Recommend this page to a friend!
  Classes of Dan   cPanel X   examples.php   Download  
File: examples.php
Role: Example script
Content type: text/plain
Description: examples for cpanel class
Class: cPanel X
Manage cPanel hosting accounts
Author: By
Last change: refreshed
Date: 17 years ago
Size: 969 bytes


Class file image Download
//You can use this class only with a cPanel hosting account

include "cpanel.php";

$cpanel = new cpanel();

//login with your hosting account

//if you don't want to see the cPanel output commment the next line

//don't run this script as is , comment all examples but one

//Ex 1:
//create new email address : with password: newpassword and a quota of 10Mb

//Ex 2:
//delete email account

//Ex 3:
//add subdomain

//Ex 4:
//add subdomain

//Ex 5:
//delete subdomain

//Ex 6:
//delete subdomain