draw(); $image_url=$image->saveWebImage(); ?> Mapserver "hello world"

This is the simplest example I could come up with. It doesn't even use any data files, just draws some text. Use this to test your new installation of Mapserver and PHP/Mapscript.

Source for all recipes: http://www.mobilegeographics.com/mapserver/MSrecipes.tar.gz

return to Mapserver Recipes