Open Source Content Management Framework

mgd_get_host_by_name

  1. Description

mgd_get_host_by_name -- Get a host record by its name

Description

`object **mgd_get_host_by_name** (string name, string prefix)`

Gets information about the host record with name name and prefix prefix.

Returns an object describing the record if successful. Returns FALSE on failure.

<?php  
$hostname = "www.midgard-project.org";  
$host = mgd_get_host_by_name($hostname,"");  
?>
Designed by Nemein, hosted by Anykey