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" -->
Regards
Viktoras
Andre Garzia wrote:
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 <[email protected]> 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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution