PHPMapscript

blaise bpicinbono at WORLDONLINE.FR
Mon Mar 6 13:00:27 PST 2006


On Monday 06 March 2006 21:10, VolComHG (sent by Nabble.com) wrote:
> Yeah, i test it and my PHP/Mapscript work fine !!! Do you have an another
> idea plz !!!

watch your code, this is the one you posted :
>><?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>
>>

Don't you miss an ending php tag :
replace line : "<?php >"
by this line : "<?php ?>"
What result ?
more, how much do you know about php ?
Blaise



More information about the MapServer-users mailing list