still not getting to the interactive html
SUBSCRIBE MAPSERVER-USERS mapuser
map.user at YAHOO.COM
Tue Jan 15 00:57:06 PST 2008
hi, thanks for the immmediate reply, but i have tried that aswell. the
image is not being created in the tmp folder when i try with mode set
to browse using
the interactive html page. but when i try to show it through static page
and mode=browse, only then the image is saved to that folder.
<img border="1" src="/cgi-bin/mapserv.exe?
map=/ms4w/Apache/htdocs/chk/db.map&layer=tarea&mode=browse" /
>
is there any thing with the cgi variables?
still getting this : msEvalRegex(): Regular expression error. String
([map]) failed expression test.
my interactive htmal page is:
<html>
<head>
<title>MapServer 5.x Tutorial</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-
8859-1">
<link type="text/css" rel="stylesheet" href="ms35.css" />
</head>
<body bgcolor="#FFFFFF" text="#000000">
<!-- START OF MAPSERVER FORM -->
<form name="mapserv" method="GET" action="/cgi-
bin/mapserv.exe">
<!-- HIDDEN MAPSERVER CGI VARIABLES -->
<input type="hidden" name="map" value="[map]">
<input type="hidden" name="imgext" value="[mapext]">
<input type="hidden" name="imgxy" value="[center]">
<input type="hidden" name="zoom" value="0">
<input type="hidden" name="layer" value="tarea">
<input type="hidden" name="mode" value="browse">
<div align="center">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- THE INTERACTIVE, DYNAMICALLY CREATED
MAP -->
<input type="image" name="img" src="[img]"
width="400" height="300">
</td>
</tr>
</table>
</div>
</form>
<!-- END OF MAPSERVER FORM -->
</body>
</html>
More information about the MapServer-users
mailing list