class WMS { var $com = new COM("WMSServer.server") or die ("Unable to instanciate WMS"); var $obj = $com->EventHandlers("WMS IP Address Authorization") or die("Unable to create event handler"); var $custom_int = $obj->CustomInterface; var $iplist = $custom_int->AllowIP; function list() { foreach($this->iplist as $i) { echo $i->Address."
"; } } } ?>