[semi OT] Rev cgi and php
viktoras at ekoinf.net
Thu Feb 12 11:49:55 CST 2009
Hi, JB, you can also try to use much "cheaper" alternative - Server Side
Includes. SSI for simple templating tasks is much faster and more
efficient than PHP.
<!--#include virtual="../cgi-bin/your_script.cgi" -->
Andre Garzia wrote:
> here goes:
> You need to install the cURL module. After that is really easy to call
> your cgi.
> 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
>> I found several methods to do that on the web, but my choice is quite
>> since the server runs php 4.3 which is too old for some recent php
>> 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,
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode