<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I'm guessing...but since that executeWFSGetFeature() works on a layer, shouldn't you be using getLayerByName on your map object, instead of creating a new layer object?</div><div><br></div><div>-jeff</div><div><br></div><div><br></div><div><br></div><br><div><div>On 19-May-08, at 8:16 PM, Dzilberte Bekode wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi<span class="Apple-converted-space"> </span><br><br><pre class="literal-block">executeWFSGetfeature() doesn't work.<br>Result is empty string.<br><br><?php<br><br> dl('php_mapscript.dll'); <br> $map_path="/ms4w/apps/test/";<br> <br>$map = ms_newMapObj($map_path."lol.map");<br>$map2 = ms_newLayerObj($map); <br><br>$lol = $map2->executeWFSGetfeature();<br>?><br></pre><span style="color: rgb(33, 33, 67); font-weight: bold; "></span><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div></div></div></span></blockquote></div></body></html>