Parsing Error in Zooming

blaise bpicinbono at WORLDONLINE.FR
Wed Mar 23 08:13:41 EST 2005


Le mercredi 23 Mars 2005 03:07, Charu Verma a écrit :
> hi all,
> My mapfile is noname.map
> I tried running the following script but it always gives me this
> parsing error on line 9.I have checked everything but am still not
> able to figure out where the problem lies.Please help me.
> Here's my code for zooming and panning:
> <?php
>
>                dl('php_mapscript_42.dll');
>
>                $val_zsize=3;
>                $check_pan="CHECKED";
>                $map_path="C:\ms4w\Apache\htdocs\" ;
>                $map_file="NONAME.map";
>
>                $map=ms_newMapObj($map_path.$map_file) ;
>......
>.....
> Please help me out

Hi
I don't know if that can help but you have :
> My mapfile is noname.map
and
>                $map_file="NONAME.map";
Try to have both either in lower or upper case characters, according to your 
mapfile name.
Blaise



More information about the mapserver-users mailing list