title: How can I add shape file (.shp) in php and use that shape file data in php file?
body: <p>I have to develop one project in php and in that I have to include shape file and that shape file needs to be converted in to kml file.</p>
  
  <p>I know how to convert shape file into kml file but I don't know how to take/import shape file into php project.<br>
  and I also have the supporting files with the shape file which contain more information.some of them are .dbf, .shx etc. And this all file's information should also be stored with the shape file information.</p>
  
  <p>Is there any tool to import shape file or any other help so that I can add shape file into my project in php site?
  or is it possible to store all the shape file(.shp), .dbf, . shx data into database and then use that data for the kml structuring.</p>
  
  <p>I also want to know that,all shape files follow any structure or formatting?Is there any standard for the shape file
  such as the xml file have?   </p>
  
  <p>xml file should have the starting tag mandatory.<br>
  They should follow the structure otherwise the viewer is unable to see the xml file.</p>