[OpenLayers-Users] Re: help with passing a var from OL to PHP

dr rykovd at gmail.com
Tue Nov 8 01:05:44 EST 2011


For example:
OpenLayers.Request.POST({
    url: './yourscript.php',
    data: OpenLayers.Util.getParameterString({key1: value1, key2: value2}),
    headers: {
           "Content-Type": "application/x-www-form-urlencoded"
    }
}); 

-----
Denis Rykov
NextGIS
http://www.nextgis.org/
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/help-with-passing-a-var-from-OL-to-PHP-tp6972263p6973276.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list