diff --git a/PicUpload.html b/PicUpload.html deleted file mode 100644 index 2bf873b..0000000 --- a/PicUpload.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - KLanding Pic Uploader - - - - - - - - - - -
-
- Drop Here - - Browse - -
- - - -
- - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/read.php b/read.php deleted file mode 100644 index baccbf7..0000000 --- a/read.php +++ /dev/null @@ -1,45 +0,0 @@ - $value) { - echo "$key => $value"; - $config[$key] = trim($value); //here you can add a filter, like htmlentities ... - echo $config; - } - - return $config; - -} -?> - - - -
- $value) { - echo ""; - echo "

"; -} -?> - -

\ No newline at end of file diff --git a/xmlread.php b/xmlread.php deleted file mode 100644 index 09a7db1..0000000 --- a/xmlread.php +++ /dev/null @@ -1,22 +0,0 @@ -## don't forget to provide the location of the actual xml file. -$xml = "http://dev.k-world.me.uk/sysinfo/xml.php"; -$doc = new DOMDocument(); -$doc->load( $xml); -## lets read the code block -$records = $doc->getElementsByTagName( "Distro" ); -foreach( $records as $record ) -{ -## parse the zip code -$zip = $record->getElementsByTagName( "Hostname" ); -$zip = $zip->item(0)->nodeValue; -## parse the city -$city = $record->getElementsByTagName( "Hardware Name" ); -$city = $city->item(0)->nodeValue; -## parse the latitude -$lat = $record->getElementsByTagName( "PCI" ); -$lat = $lat->item(0)->nodeValue; -## parse longtitude. -$longtitude = $record->getElementsByTagname( "CPU" ); -$longtitude = $longtitude->item(0)->nodeValue; -echo "

Zip Code: ".$zip."
City: ".$city."
Latitude: ".$lat."
Lontitude:".$longtitude."

"; -} \ No newline at end of file