[semi OT] Rev cgi and php

Andre Garzia andre at andregarzia.com
Thu Feb 12 11:24:11 EST 2009


Jbv,

here goes:

http://br.php.net/curl

You need to install the cURL module. After that is really easy to call
your cgi.

Cheers
andre

On Thu, Feb 12, 2009 at 2:21 PM, jbv <jbv.silences at club-internet.fr> wrote:
> Hi list,
>
> I have a Rev cgi script that is called from a webpage via XMLHttpRequest
>
> and the POST method and that outputs xml data.
>
> Now I'm trying to launch that script from a php script on the same Linux
> server.
> I found several methods to do that on the web, but my choice is quite
> limited
> since the server runs php 4.3 which is too old for some recent php
> functions...
>
> Nevertheless, I managed to launch that cgi script, although I can't
> manage to
> send POST data to it... Whatever I try, $REQUEST_METHOD contains GET
> and all parameters are ignored...
> OTOH when I use the GET method, $QUERY_STRING contains the right
> parameters passed to the script...
>
> As this is semi-OT and as I don't want to clutter the list with php
> code, may I
> ask php experts to contact me off-list with usefull and brilliant
> suggestions ?
>
> Thanks in advance,
> JB
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list