PHPMapscript

VolComHG (sent by Nabble.com) lists at NABBLE.COM
Mon Mar 6 14:40:47 EST 2006


Im new with mapscript and i learn how to use it
Here my code
<?php

if (!extension_loaded("MapScript")) dl('php_mapscript_46.dll');
$map_path="C:/ms4w/apps/kamap-0.1.1/htdocs/";        
$map = ms_newMapObj($map_path."global.map");
$image=$map->draw();
$image_url=$image->saveWebImage();


?>  

<HTML>
  <HEAD>
      <TITLE>Essaie</TITLE>
  </HEAD>
  <BODY>
      <?php  >
  </BODY>
</HTML>

When I open the html page it said :

draw(); $image_url=$image->saveWebImage(); ?>  > 

I think it doesnt recognize the mapscript   sorry for my english

Someone can help me plz !!!!
--
View this message in context: http://www.nabble.com/PHPMapscript-t1235334.html#a3268192
Sent from the Mapserver - User forum at Nabble.com.



More information about the mapserver-users mailing list