[Mapserver-users] Problems with PHP/Mapscript and Postgis

colombo.l colombo.l at email.it
Mon May 26 04:41:54 EDT 2003


--_=__=_XaM3_Boundary.1053938514.2A.313556.42.26518.52.42.101010.9813
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,=0D=0A=0D=0A I did the "PHP/Mapscript By Example HOWTO" in the documentation section of this site and I didn't have problems.=0D=0A=0D=0AThen I tried to use my own mapfile in which I retrive data with Postgis.=0D=0AI modified the php file as follow: $map =3D ms_newMapObj($map_path."mymap.map"), but if I try to load it with PHP/Mapscript nothing is displayed.=0D=0A=0D=0AIf I load the mapfile in the classic way (=0D=0A<a href=3D"http://mysite/cgi-bin/mapserv.exe?map=3D../path/mymap.map">=0D=0A), all work great.=0D=0A=0D=0A=0D=0ADid somebody know why?=0D=0A=0D=0Athx=0D=0A=0D=0ALuca


--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Natsabe.it significa Natura, Salute e Bellezza ... ma non solo!
Vasta scelta di articoli da regalo. Belli e originali.=20
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3D1306&d=3D26-5
--_=__=_XaM3_Boundary.1053938514.2A.313556.42.26518.52.42.101010.9813
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<DIV>Hi,</DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>&nbsp;I did the "<A href=3D"http://mapserver.gis.umn.edu/doc36/phpmapscript-byexample-howto.html">PHP/Mapscript By Example HOWTO</A>" in the documentation section of this site&nbsp;and I didn't have problems.</DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>Then I tried to use my own mapfile in which I retrive data with Postgis.</DIV>=0D=0A<DIV>I modified the php file as follow: $map =3D ms_newMapObj($map_path."mymap.map"), but&nbsp;if I try to load it with PHP/Mapscript nothing is displayed.</DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>=0D=0A<DIV>If I load the mapfile in the classic way (=0D=0A<DIV>&lt;a href=3D"<A href=3D"http://mysite/cgi-bin/mapserv.exe?map=3D../path/mymap.map">http://mysite/cgi-bin/mapserv.exe?map=3D../path/mymap.map</A>"&gt;</DIV>), all work great.</DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>Did somebody know why?</DIV></DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>thx</DIV>=0D=0A<DIV>&nbsp;</DIV>=0D=0A<DIV>Luca</DIV>

<p><font face=3DVerdana,Arial size=3D2>----<br>
Email.it, the professional e-mail, gratis per te: <a href=3D"http://www.e=
mail.it/cgi-bin/start?sid=3D3"=20
target=3D"_blank" >clicca qui</a> <br>
<br>
Sponsor:<br>
Natsabe.it significa Natura, Salute e Bellezza ... ma non solo!<br>Vasta =
scelta di articoli da regalo. Belli e originali. <br>
<a href=3D"http://adv.email.it/cgi-bin/foclick.cgi?mid=3D1306&d=3D26-5" t=
arget=3D"_blank" >Clicca qui</a> </font><br>
--_=__=_XaM3_Boundary.1053938514.2A.313556.42.26518.52.42.101010.9813--




More information about the mapserver-users mailing list