<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Hi <br><br>I'm trying to find out how to handle WFS with Mapscript.<br>executeWFSGetfeature() doesn't work. Return empty string<br><br>My dhtml file.<br><span style="font-weight: bold;"><?php</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;"> dl('php_mapscript.dll'); </span><br style="font-weight: bold;"><span style="font-weight: bold;"> $map_path="/ms4w/apps/test/";</span><br style="font-weight: bold;"><span style="font-weight: bold;"> </span><br style="font-weight: bold;"><span style="font-weight: bold;">$map = ms_newMapObj($map_path."lol.map");</span><br style="font-weight: bold;"><span style="font-weight: bold;">$layer =
ms_newLayerObj($map);</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$GMLname = $layer->executeWFSGetfeature();</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">?></span><br style="font-weight: bold;"><span style="font-weight: bold;"><HTML></span><br style="font-weight: bold;"><span style="font-weight: bold;"> <HEAD></span><br style="font-weight: bold;"><span style="font-weight: bold;"> <TITLE>Example 1: Displaying a map</TITLE></span><br style="font-weight: bold;"><span style="font-weight: bold;"> </HEAD></span><br style="font-weight: bold;"><span style="font-weight: bold;"> <BODY> </span><br style="font-weight: bold;"><span style="font-weight: bold;"> <?php echo $GMLname; ?></span><br style="font-weight: bold;"><span
style="font-weight: bold;"> </BODY></span><br style="font-weight: bold;"><span style="font-weight: bold;"> </HTML></span><br style="font-weight: bold;"><br><br><span style="color: rgb(33, 33, 67); font-weight: bold;"></span><div><br></div></div><br>
</body></html>