PHP Classes

File: sample5.php

Recommend this page to a friend!
  Classes of Tom Schaefer   QXML   sample5.php   Download  
File: sample5.php
Role: Sample output
Content type: text/plain
Description: IP-Info to XML
Class: QXML
XML <> Array (preserve attrib.), JSON, etc.
Author: By
Last change:
Date: 15 years ago
Size: 296 bytes


Class file image Download
<?php include_once("QXml.class.php"); include_once("QWhoIsIp.class.php"); $array = array("", "", ""); $whois = new QWhoIsIP($array); $xml = new QXML; $xml->toXML($whois->getResult()); header("content-type:text/xml"); echo $xml->asXML(); ?>