Open Source Content Management Framework

mgd_update_host

  1. Description

mgd_update_host -- Update a host record

Description

`int **mgd_update_host** (int id, string name, int port, int online, int root, int style, int auth, int owner, string prefix)`

Minimum version: Midgard 1.2.5 (Mad King)

Will update the host record with id id with the provided parameters.

Returns TRUE on success, FALSE on failure.

<?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 );  
    ?>
Designed by Nemein, hosted by Anykey