Opened 19 years ago
Closed 19 years ago
#1448 closed defect (worksforme)
saveMapContext to another directory fails
Reported by: | Owned by: | assefa | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapScript-PHP | Version: | 4.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
The code on this documentation page works: http://mapserver.gis.umn.edu/doc46/mapcontext-howto.html <?php dl("php_mapscript_40.dll"); $oMap = ms_newMapObj("gmap_wms_context.map"); $oMap->saveMapContext("gmap_wms_context_output.xml"); ?> But you should be able to save the context document to another directory such as c:\ms4w\tmp\ms_tmp\gmap_wms_context_output.xml but it fails. As it stands,the context document gets saved to the same directory as the mapfile, but this directory is probably not web accessible. Also - the documentation doesn't say that you can't save to another directory.
Change History (2)
Note:
See TracTickets
for help on using tickets.