Hi all,

I've a problem with OpenLayers.Ajax.Request

if I try to use it like...

var params = 'var1=val1' + '&var2=val2' + '&varjson='+valjson ;
new OpenLayers.Ajax.Request(url, {method:'post', postBody:params, 
requestHeaders: ['Accept', 'text/html']});

on url php file doesn't find nothing in $_POST variable..

Any people have an idea about this?
I'm using Openlayers 2.6

Thanks in advance

Walter

-- 
Please no  .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats

Walter Lorenzetti
email+jabber: [EMAIL PROTECTED]
www.faunalia.it
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to