Hello,
I got an own dedicated server with DirectAdmin. I wanna make 1000 subdomains in one time by just hitting a button. Its all working nice, BUT, when I'm creating them it goes till 33 subdomains than the script stops creating them.
Here is the script:
Somebody knows how I can create 1000 subdomains in one time? And not 33 a time?
//Sorry for my bad english!
Kind regards,
Joppe
I got an own dedicated server with DirectAdmin. I wanna make 1000 subdomains in one time by just hitting a button. Its all working nice, BUT, when I'm creating them it goes till 33 subdomains than the script stops creating them.
Here is the script:
PHP:
<?php
include 'httpsocket.php';
$tekst = $_POST['tekst'];
$tekst = explode($teken,$tekst);
//begin array
foreach($tekst as $number => $value){
$bestand = str_replace(" ","+",$value);
$sock = new HTTPSocket;
$sock->connect('***.com',2222);
$sock->set_login(""***","***");
$sock->set_method('POST');
$sock->query('/CMD_SUBDOMAIN',
array(
'action' => 'create',
'domain' => '***',
'subdomain' => $bestand
));
$result = $sock->fetch_body();
echo $result;
//einde array
}
?>
Somebody knows how I can create 1000 subdomains in one time? And not 33 a time?
//Sorry for my bad english!
Kind regards,
Joppe