Am 10.12.2012 06:03, schrieb ArtemGr:
> Oliver Rath <rath@...> writes:
>> Hi List,
>>
>> ist it possible to forward pages with php-code i.e. to php5-cgi and
>> offer the result via tntnet? The idea came while playing with the
>> "mongoose" webserver for setting up a locale dokuwiki
>> (https://www.dokuwiki.org/install:mongoose), which uses php5-cgi-package.
>>
>> Tfh!
>> Oliver
> Hi, Oliver.
> Have you seen http://stackoverflow.com/questions/1902409/calling-php-from-c ?
> You could also start a PHP web-server (e.g. nanoweb or a roadsend app, cf.
> http://stackoverflow.com/questions/3027239/lightweight-php-server-to-bundle-with-application
> ) and use the Tntnet's proxy component.
> Just my two cents.
>
I wanted to suggest the proxy component. The C-API is also a good idea. 
Another option is to implement a CGI component. I have thought about it, 
but not enough to really do it. Maybe it would be interesting to have 
CGI. Then you can also integrate perl or other scripts easily. The 
performance will be bad as CGI needs to start a process for each 
request, but just as an option for something it may be interesting.


Tommi

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to