api make subdomain

hba

Verified User
Joined
Apr 4, 2005
Messages
6
hi
i want to make the file by php to make the subdomain in my host in directadmin control panel
please write this file to make subdomain in my host by give the php file the name of my subdomain and it make it name to my host
thanx

i am from iran and my linguage is not good sorry
 
Have a look here and search for "Create Subdomain" without "".

This is the API for DirectAdmin, search this forum to find a PHP class for calling the API, I've written a lot of the functions and posted it on this forum in a PHP class that can be used freely.

Regards,
Onno Vrijburg
 
ok
i find it httpsoket and sample make sundomain bud i cand change this file to connect to my host .
what file i must be change to connect to my host httpsoket or samplesumdomain

thenx
hamed from iran
 
If you downloaded my sample classes and unpacked them you should change the /config/config.php file in order to connect to your server.

Regards,
Onno
 
i download e file bud it is not have confige it coontain httpgetsoket and httpsoket and sample crate sub domina
please link your sample
thanx a lot
 
Here are the sample classes, remember this is only a simple example and is by no means comprehensive of ready for production use. You must make changes to suit your needs.

This is meant to be used in conjunction with the classes you've already downloaded.

Regards,
Onno Vrijburg
 

Attachments

  • da-api php class.zip
    29.3 KB · Views: 691
script to create multiple subdomains

i want to create 100 subdomains for one of my sites. i have the list in a text file. is there a script that exists to do this automatically with one of the api's?

jason
[email protected]
 
Back
Top