Hi,<div>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. <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://dpaste.com/553024/">http://dpaste.com/553024/</a> 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?</div>
<div>var indexlayer = new OpenLayers.Layer.WMS("test","<a href="http://localhost/map/phpmapscript-demo/index.phtml">http://localhost/map/phpmapscript-demo/index.phtml</a>?",{format:'image/png'}); <br clear="all">
<br>-- <br>Regards,<br><br>Jude Mwenda<br>Skype id: jmwenda<br>Twitter: <a href="http://www.twitter.com/judemwenda">www.twitter.com/judemwenda</a><br>Web: <a href="http://www.africangeogeek.com">www.africangeogeek.com</a><br>
<br>"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."<br>Johann Wolfgang von Goethe<br>
</div>