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

Reply via email to