PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
hosting
/
httpsocket
/
examples
<?php include 'httpsocket.php'; $sock = new HTTPSocket(); $sock->connect('yoursite.com', 2222); $sock->set_login('admin|{username}', '{admin_password}'); $sock->set_method('POST'); $sock->query('/CMD_API_SUBDOMAINS', array( 'action' => 'create', 'domain' => '{parent_domain}', 'subdomain' => '{subdomain_name}', )); $result = $sock->fetch_body(); echo $result;
[+]
..
[-] example.show_user.php
[edit]
[-] example.add_subdomain.php
[edit]
[-] example.show_all_users.php
[edit]
[-] example.add_login_key.php
[edit]
[-] example.account_list_csv.php
[edit]
[-] example.add_domain.php
[edit]
[-] example.change_pass.php
[edit]
[-] example.add_database.php
[edit]
[-] example.suspend_user.php
[edit]
[-] example.unsubscribe.php
[edit]