Also, since you are using MS4W, you might want to use the "PHP/MapScript Sample Application" addon package for MS4W for guidance, since it out-of-the-box sets up a WMS mapfile for you (see your localhost page after installing).

jeff



Gregor Mosheh wrote:
loadMap(): Web application error. CGI variable "map" is not set.

The URL that I type:
http://localhost/cgi-bin/mapserv.exe?%20map=/ms4w/apps/tutorial/htdocs/example1-1.map&layer=states&mode=map

Yeah, look at the URL. %20 is a space. Get rid of the space and you should be fine.



--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca

Reply via email to