Hi pietro,<br><br>Thank you so much...  now its works fine......<br><br><div class="gmail_quote">On Tue, May 5, 2009 at 6:07 PM, Pietro Giannini (via Nabble) <span dir="ltr">&lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2794721&i=0" target="_top" rel="nofollow">ml-user%2B94644-1894679202@...</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Zizu,
<br>STATUS OFF on all the layers of your map.
<br>To turn on:
<br>    $layer = $map-&gt;getLayerByName(&#39;kerala&#39;);
<br>    $layer-&gt;set(&#39;status&#39;, MS_ON);
<br>    $image=$map-&gt;draw();
<br>    $image_url=$image-&gt;saveWebImage();
<br><br>bye
<br>...................pg
<br><br><br>________________________________________
<br>Da: <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2793318&amp;i=0" rel="nofollow" target="_blank">mapserver-users-bounces@...</a> [<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2793318&amp;i=1" rel="nofollow" target="_blank">mapserver-users-bounces@...</a>] per conto di zizu [<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2793318&amp;i=2" rel="nofollow" target="_blank">manojkapil06@...</a>]
<br>Inviato: martedì 5 maggio 2009 12.59
<br>A: <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2793318&amp;i=3" rel="nofollow" target="_blank">mapserver-users@...</a>
<br>Oggetto: [mapserver-users] PHP Mapscript - Displaying only image colour except the existing layers
<br><br>Dear users,
<br><br>I am using FGS-Mapserver, its a stand alone environment on fedora 9. i have
<br>successfully play mapserver through cgi, there is absolutely no problem with
<br>that. Now am trying to play PHP-Mapscript , example given in the tutorial.
<br>The problem am encountering right now is when i run the php file through
<br>browser
<br><br><a href="http://localhost:8080/mapfiles/sampletest/htdocs/test.php" rel="nofollow" target="_blank">http://localhost:8080/mapfiles/sampletest/htdocs/test.php</a><br><br><br>Luckily the image colour of the map is displaying but the layers of the map
<br>is not displaying...  herewith am attaching the screen shot of that page....
<br>am also attaching both the map file and php file for your view.....
<br><br>what could be a problem.....   please help me out..
<br><br>tips will be appreciated....
<br><a href="http://n2.nabble.com/file/n2792269/Screenshot.png" rel="nofollow" target="_blank">http://n2.nabble.com/file/n2792269/Screenshot.png</a> Screenshot.png
<br><br><a href="http://n2.nabble.com/file/n2792269/test.map" rel="nofollow" target="_blank">http://n2.nabble.com/file/n2792269/test.map</a> test.map
<br><br><a href="http://n2.nabble.com/file/n2792269/test.php" rel="nofollow" target="_blank">http://n2.nabble.com/file/n2792269/test.php</a> test.php
<br><br>many thanks,
<br>zizu
<br><br><br>--
<br>View this message in context: <a href="http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-the-existing-layers-tp2792269p2792269.html" rel="nofollow" target="_blank">http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-the-existing-layers-tp2792269p2792269.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.
<br><br>_______________________________________________
<br>mapserver-users mailing list
<br><a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2793318&amp;i=4" rel="nofollow" target="_blank">mapserver-users@...</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>_______________________________________________
<br>mapserver-users mailing list
<br><a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2793318&amp;i=5" rel="nofollow" target="_blank">mapserver-users@...</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>

</blockquote></div><br>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-the-existing-layers-tp2792269p2794721.html">Re: [mapserver-users] R: PHP Mapscript - Displaying only image colour  except the existing layers</a><br>
Sent from the <a href="http://n2.nabble.com/Mapserver---User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br>