[mapserver-users] Php Mapscript help

jude mwenda judemwenda at gmail.com
Sat Jun 11 03:41:14 EDT 2011


Hi,
I have been having this problem and simple google search seems no to shed
any light on this. i have an index.php file that i want to load as a WMS
service. Attached is the index file as specified on the doc. On my php info,
it states mapscript is installed. http://dpaste.com/553024/ On loading this
on my browser as index.php?service=WMS&version=1.1.1&Request=GetCapabilities
A file is downloaded but on opening it on a text editor is its empty. I want
to load this layer as a WMS layer on openlayers, the following does not
return any results. any pointers?
var indexlayer = new OpenLayers.Layer.WMS("test","
http://localhost/map/phpmapscript-demo/index.phtml?",{format:'image/png'});

-- 
Regards,

Jude Mwenda
Skype id: jmwenda
Twitter: www.twitter.com/judemwenda
Web: www.africangeogeek.com

"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
Johann Wolfgang von Goethe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110611/1a34d6b8/attachment.html


More information about the mapserver-users mailing list