And what about these,
webspace-name, required
It defines the name of a subscription to which the Panel will assign a new site. Data type: string.
webspace-id, required
It defines the ID of a subscription to which the Panel will assign a new site. Data type: string.
webspace-guid, required...
I now have this php code, but have no idear how to move on
function addNewSite()
{
$xmldoc = new DomDocument('1.0', 'UTF-8');
$xmldoc->formatOutput = true;
// <packet>
$packet = $xmldoc->createElement('packet');
$packet->setAttribute('version', '1.6.3.0')...
I now have access to get all domains and see som info.
1. But in this add excample how do i know what to set in webspace-id, can i leave it blank and it will autocreate a unik id?
2. How do i enable "Microsoft ASP support "
3. How do i enable "Custom error documents "
4. How do i enable "...
My problem is that i don't know how to call "create website" and how to set all of the parametres that is avaliable. I'm looking for a easy to follow guide in php?
Hello
I use plesks 10.4.4 and would like to know if i can create websites with a php script?
Today i create them manually but the amount of sites i create is getting more and more and would like to automate the process.
I know nothing of plesks api so any help is appreciated
Regards
Thomas