[Mapserver-users] user-defined URL-Variables in MapFile

Frieso ter Haseborg ter-haseborg at sf-datentechnik.de
Wed Oct 1 09:08:58 PDT 2003


Hi,

is there any way to let MS pass user-defined url-variables through to a
PHP/MapScript embedded as a wms-layer in a mapfile?

I'm working on a PHP/MapScript-component for creating dynamic layers.
The PHP shall be used in a mapfile as ogc-compliant wms-layer. It's
implemented this way:

[...]
LAYER
   NAME "wms"
   TYPE RASTER
   STATUS OFF
   CONNECTION "http://[...]/mapscript/dynamic-layer.php" <!here I need a
passthrough!>
   CONNECTIONTYPE WMS
   METADATA
	[...]
   END
END
[...]

I need to give the PHP specific instructions e.g. for
authorization-purposes but all the php get's are the ogc-variables.

Any ideas?

TIA,
 
Frieso ter Haseborg
- Software Development - 
 
--

-------------------------------------------------- 
S&F Datentechnik GmbH&Co.KG 
Reimersstr. 41b 
26789 Leer, Germany




More information about the MapServer-users mailing list