Search results for query: cmd_api_dns_control

  1. S

    Cmd_api_dns_control

    ...$sock = new HTTPSocket; $sock->connect($this->domain,2222); $sock->set_login($this->username,$this->password); $sock->query("/CMD_API_DNS_CONTROL?domain=".$this->domain); $result = $sock->fetch_parsed_body(); foreach($result as $key=>$val) // extract key from the array { $out1=$key...
  2. S

    Cmd_api_dns_control

    ok, I got the add to work, I was forgetting the "/" before the "CMD_API_DNS_CONTROL". Here it is so far. /********************************************************/ function dns_add($sub, $address) { $sock = new HTTPSocket; $sock->connect($this->domain,2222)...
  3. jmstacey

    Cmd_api_dns_control

    ...like this should work I would think: $sock = new HTTPSocket; $sock->connect('127.0.0.1',2222); $sock->set_login($_SERVER['USER']); $sock->query("/CMD_API_DNS_CONTROL?domain=domain.com&action=add&type=A&name=testing&value=192.168.0.2"); $result = $sock->fetch_parsed_body(); return($result);
  4. S

    Cmd_api_dns_control

    Up to now, I have been successful working with the api with my php scripts. I would like to add some of the features of CMD_API_DNS_CONTROL, but this one doesn't work like the rest. CMD_API_DNS_CONTROL I would like to do something like $sock = new HTTPSocket...
Back
Top