Hello,<br>I've loaded latest MS4W 2.x (therefore PHP 5.x)<br>&nbsp;and am trying to verify Mapscript's <br>OwsRequestObj and $mapobj-&gt;owsdispatch() <br>on a fairly ordinary shp-based mapfile <br>that works well where mapserv.exe is <br>the WMS server.<br><br>The requestobj seems healthy and <br>owsdispatch seems successful on WMS <br>GetCapabilities.&nbsp; On a GetMap, <br>owsdispatch is returning MS_SUCCESS, <br>but all the image output formats are <br>coming thru damaged or truncated in <br>some way.&nbsp; When running GetMap <br>in a browser, there are corruption <br>messages for PNG and GIF, <br>while JPG displays as a very "disturbed"<br>image that gdalinfo indicates is currupted.<br><br>The docs suggest that owsdispatch() should<br>be able to dump the image to the client without<br>further manipulation, so I don't know what I <br>might be missing.<br><br>Or if my environment is somehow tainted from<br>older MS4Ws (on PHP 4).&nbsp; I uninstalled the old<br>apache
 that I was using and installed the new<br>MS4W in c:\ to be as generic as possible.<br><br>Any ideas out there?<br><br>thanks,<br>Robert H.<br>