Hi,

My PHP MapScript sometimes fails to create a new map object. I would like to be able to handle this occurrence, and send a notice to the user that there has been an error and they don't have to wait for a page that is not going to load. The script just fails at the $map = ms_newMapObj($mapfile) line and stops. How to throw an exception when this happens?

Thanks,
Jim

James (Jim) B. White
tel: (919)-380-9615
homepage: http://jimserver.net/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to