Hello everyone<br><br>I have downloaded and installed ogr php extension. I am experiencing difficulties in understanding and writing some code using this extension. The available documentation for the php ogr extension is really poor and I am wondering if someone has any idea of where to search for sample code or instructions.
<br>For example (talking about sample code), I am looking for a simple script that opens and reads a shape file. I tried the ogr2ogr.php script, fount on the examples folder, but the result was to have a new shape file but with no feature transfer. I mean that the new shape file that was created by the script, that it was supposed to be the copy of an another, was empty. The dbf file copied successfully. 
<br><br>Another, more general, question has to do with the mapscript&#39;s relation to OGR. I am totally confused on this part. Does mapscript enhances ogr? If yes, then does mapscript support all the source files that ogr supports?
<br><br>Anyway, can someone please give some directions, guidelines, links or anything concerning the ogr php extension?<br><br>Thanks on advance<br>Andreas Trantidis<br>