|
|
|
ใครเคยดึงข้อมูลจาก XML ลงฐานข้อมูลด้วย php บ้างครับ |
|
|
|
|
|
|
|
Code (PHP)
<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name><![CDATA[NSL_Maung28]]></name>
<open>1</open>
<Snippet maxLines="2"></Snippet>
<description><![CDATA[Exported from NSL_Maung28 on 26/10/2553]]></description>
<Style id="FEATURES">
<LineStyle>
<color>FF0000FF</color>
<width>1</width>
</LineStyle>
<PolyStyle>
<outline>1</outline>
<fill>0</fill>
</PolyStyle>
<BalloonStyle>
<text>
<![CDATA[]]>
</text>
</BalloonStyle>
</Style>
<Style id="FEATURES_LABELS">
<IconStyle>
<color>00000000</color>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/placemark_circle.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<color>FFFFFFFF</color>
</LabelStyle>
</Style>
<Folder>
<name>Features</name>
<open>0</open>
<Placemark>
<name><![CDATA[0040]]></name>
<Snippet maxLines="2"></Snippet>
<styleUrl>#FEATURES</styleUrl>
<Polygon>
<extrude>0</extrude>
<altitudeMode>clampedToGround</altitudeMode>
<outerBoundaryIs>
<LinearRing>
<coordinates>
99.7529913594233,19.903018695129,0
99.7538682259092,19.9052130491353,0
99.7522990344485,19.9048988487776,0
99.7520699339395,19.9037012160897,0
99.7529913594233,19.903018695129,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Folder>
</Document>
</kml>
Tag : PHP
|
|
|
|
|
|
Date :
2011-07-09 14:16:54 |
By :
ckcr |
View :
1359 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 01
|