![]() |
|
php execution through IW standalone - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: php execution through IW standalone (/thread-3033.html) |
php execution through IW standalone - mhammady - 02-20-2023 Hi, Are we able to run a PHP script through IW standalone? if yes, is there a demo/example of how to do that? Thank you RE: php execution through IW standalone - Alexandre Machado - 02-21-2023 That's a complex question. Virtually anything that can be done in a Delphi Windows application can be done in an IntraWeb app, as long as it doesn't interact with the Windows desktop/UI API. IW is also able to run CGI scripts through its own TIWCGIRunner class which handles it nicely and transparently. If you can run your PHP script as CGI, then maybe there's a way to make it work that way. I, however, never tried it myself. RE: php execution through IW standalone - mhammady - 02-22-2023 (02-21-2023, 11:34 PM)Alexandre Machado Wrote: That's a complex question. Virtually anything that can be done in a Delphi Windows application can be done in an IntraWeb app, as long as it doesn't interact with the Windows desktop/UI API. Thank you Alexandre for your reply. My scripts are currently running under IIS using CGI. This makes me in need to setup IIS/Apache beside IW. Is there is any demo on how to use the TIWCGIRunner to CGI run php script and show results back through IW page/control? Thank you |