PHPMapscript {Scanned}
Siki Zoltan
siki at AGT.BME.HU
Mon Mar 6 18:15:02 PST 2006
Hi,
You should insert an image tag into your html code to see the result.
Or an image input field in a form.
e.g.
<body>
<img src=<? echo $image_url; ?>>
</body>
Zoltan
On Mon, 6 Mar 2006, VolComHG (sent by Nabble.com) wrote:
> 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>
> --
> View this message in context: http://www.nabble.com/PHPMapscript-t1235334.html#a3270038
> Sent from the Mapserver - User forum at Nabble.com.
>
More information about the MapServer-users
mailing list