Adrià, Thanks for your response. With that piece of code I've confirmed that I'm not forwarding the parameters. I'll have to review the ASP proxy. Thanks.
Un saludo, ·················································································· David Alda Fernández de Lezea Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad IKT Granja Modelo s/n · 01192 · Arkaute (Araba) ·················································································· Tlfnos.: 945-00-32-95 Fax: 945-00.32.90 ·················································································· email: [email protected] web: www.ikt.es ·················································································· -----Mensaje original----- De: Adrià Mercader [mailto:[email protected]] Enviado el: martes, 30 de noviembre de 2010 14:35 Para: David Alda Fernandez de Lezea CC: [email protected] Asunto: Re: [OpenLayers-Users] Problems using printing php script provided in OL Hi David, I'm afraid this has nothing to do with OpenLayers or the PHP script, but the way you call the PHP script from your ASP proxy. It seems that you are not forwarding the parameters received in the ASP script to the PHP one. Try debugging there. By the way, this command will show you all parameters being sent to your PHP script: var_dump($_REQUEST); Good luck, Adrià On 30 November 2010 13:12, David Alda Fernandez de Lezea <[email protected]> wrote: > Hi list, > > I'm trying to make this script work, but I'm afraid I'm not able to dot it. > The problem is a bit complicated. Due to some architecture issues, the > openlayers application has to call a proxy made in ASP to call the PHP > script. I know this is not the best way to do things but it's what we have. > > The first call, the ASP proxy, works fine, I receive tha data in it. Then I > make tha call to the PHP script but I get an error while looping in the tiles > variable. The problem is that the PHP script doesn't get the parameters sent, > so $tiles is null or empty. > > I've put some echo sentences to see the value of the POST variables but > without success. They return nothing. > > echo @$_REQUEST; > echo @$_POST[0]; > echo @$_REQUEST[0]; > echo @$_POST['width']; > echo @$_REQUEST['width']; > > It seems that I don't get any parameter. > > Any ideas?? > > Thanks. > > Un saludo, > > ······································································ > ············ > > David Alda Fernández de Lezea > Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y > Biodiversidad > > IKT > Granja Modelo s/n · 01192 · Arkaute (Araba) > > ······································································ > ············ > Tlfnos.: 945-00-32-95 Fax: 945-00.32.90 > ······································································ > ············ > email: [email protected] web: www.ikt.es > ······································································ > ············ _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > -- Adrià Mercader ----------------------------- http://amercader.net _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
