PHPMapscript
VolComHG (sent by Nabble.com)
lists at NABBLE.COM
Tue Mar 7 05:40:14 PST 2006
Hi Doug, tx for your code, the result is when i open my page 2 popup appear
: 1- "Failure" 2-"Already loaded (i doubt it"), what i must do now ????
here my code
<?php
if (!extension_loaded("MapScript")){
if (dl('php_mapscript_46.dll')) {
echo "<script>window.alert('success');</script>";
}else{
echo "<script>window.alert('failure');</script>";
}
}else{
echo "<script>window.alert('already loaded (i doubt it)');</script>";
}
$map_path="C:/ms4w/apps/kamap-0.1.1/htdocs/";
$map = ms_newMapObj($map_path."global.map");
$image=$map->draw();
$image_url=$image->saveWebImage();
?>
--
View this message in context: http://www.nabble.com/PHPMapscript-t1235334.html#a3280611
Sent from the Mapserver - User forum at Nabble.com.
More information about the MapServer-users
mailing list