Re: [pmwiki-devel] Calling CGI from PHP

2012-09-07 Thread Petko Yotov
Simon writes: As an interim step to replacing this script (with something clever from PmWiki) I've tried to invoke the script from within a recipe on URL:http://ttc.org.nz/pmwiki/pmwiki.php/TTC/Tuesdaya page. The recipe is Markup('ClubNight', 'fulltext', '/\\(:clubnight:\\)/ei',  

Re: [pmwiki-devel] Calling CGI from PHP

2012-09-07 Thread Simon
A big thanks to Petko and Peter B who got me heading in the right direction. I've documented this at http://www.pmwiki.org/wiki/Cookbook/RunCGI I hope it helps someone else Simon On 7 September 2012 19:48, Petko Yotov 5...@5ko.fr wrote: Petko Yotov writes: $retval .= 'c' . $output;

[pmwiki-devel] Calling CGI from PHP

2012-09-06 Thread Simon
I've got a legacy html page http://ttc.org.nz/tuesday.html which calls a cgi (perl) script !--#include virtual=/cgi-bin/tuesday.plhttp://ttc.org.nz//cgi-bin/tuesday.pl -- As an interim step to replacing this script (with something clever from PmWiki) I've tried to invoke the script from within a