Name
mgd_update_host -- Update a host record
Synopsis
int mgd_update_host
(int id, string name, int port, int online, int root, int style, int auth, int owner, string [prefix]);
Description
Minimum version: Midgard 1.2.5 (Mad King)
Will update the host record with id id with
the provided parameters.
Returns true if successfull. Returns false on failure.
Example
<?php
$id = 17;
$name = "bergie.midgard-project.org";
$port = 8081;
$online = 1;
$root = 101;
$style = 107;
$auth = 0;
$owner = 123;
mgd_update_host( $id, $name, $port, $online, $root, $style, $auth, $owner );
?>