addSimplePingProvider('viathinksoft.de:49500'); echo $oa->xmlAddHeader('hello', 'world', 'test@example.com'); $params['allow_html'] = true; // Allow HTML in and $params['allow_illegal_email'] = true; // It should be enabled, because the creator could have used some kind of human-readable anti-spam technique $params['soft_correct_behavior'] = OIDInfoAPI::SOFT_CORRECT_BEHAVIOR_NONE; $params['do_online_check'] = false; // Flag to disable this online check, because it generates a lot of traffic and runtime. $params['do_illegality_check'] = false; $params['do_simpleping_check'] = false; $params['auto_extract_name'] = ''; $params['auto_extract_url'] = ''; $params['always_output_comment'] = false; // Do not output comment if there was an error (e.g. OID already existing) $params['creation_allowed_check'] = false; $params['tolerant_htmlentities'] = true; $params['ignore_xhtml_light'] = false; $elements['synonymous-identifier'] = ''; // string or array $elements['description'] = ''; $elements['information'] = ''; $elements['first-registrant']['first-name'] = ''; $elements['first-registrant']['last-name'] = ''; $elements['first-registrant']['address'] = ''; $elements['first-registrant']['email'] = ''; $elements['first-registrant']['phone'] = ''; $elements['first-registrant']['fax'] = ''; $elements['first-registrant']['creation-date'] = ''; $elements['current-registrant']['first-name'] = ''; $elements['current-registrant']['last-name'] = ''; $elements['current-registrant']['address'] = ''; $elements['current-registrant']['email'] = ''; $elements['current-registrant']['phone'] = ''; $elements['current-registrant']['fax'] = ''; $elements['current-registrant']['modification-date'] = ''; $oid = '2.999'; echo $oa->createXMLEntry($oid, $elements, $params, $comment='hello'); $oid = '2.999.1'; echo $oa->createXMLEntry($oid, $elements, $params, $comment='hello'); echo $oa->xmlAddFooter();