bigN Posted December 12, 2008 Share Posted December 12, 2008 Hi, I was wondering if someone now how to trigger windows application from PHP. For example I am running XAMPP on my computer, then creating a text file with php in "htdocs/blabla" I want a windows application (created with Borland) to be Triggered by that event and then read that file and erase it. Till now I put a timer in Windows Application so it can check the file existence in current folder every 1sec (which is memory consuming)... is there any other way to do it? Quote Link to comment https://forums.phpfreaks.com/topic/136641-trigger-window-app-with-php/ Share on other sites More sharing options...
Mchl Posted December 12, 2008 Share Posted December 12, 2008 COM extension Quote Link to comment https://forums.phpfreaks.com/topic/136641-trigger-window-app-with-php/#findComment-713498 Share on other sites More sharing options...
bigN Posted December 12, 2008 Author Share Posted December 12, 2008 Thanks I will look into it, but if it is no trouble for you could you pls give me a very simple example on how can I raise an event so the desktop app can recognize it? Quote Link to comment https://forums.phpfreaks.com/topic/136641-trigger-window-app-with-php/#findComment-713500 Share on other sites More sharing options...
Mchl Posted December 12, 2008 Share Posted December 12, 2008 Sorry. Never used it. I just know it exists and perhaps could be used for that. Quote Link to comment https://forums.phpfreaks.com/topic/136641-trigger-window-app-with-php/#findComment-713501 Share on other sites More sharing options...
bigN Posted December 12, 2008 Author Share Posted December 12, 2008 I've look to com... there are a lot of options (some of them experimental), however I am not quite sure how can I implement one of those to resolve my problem.... ??? Quote Link to comment https://forums.phpfreaks.com/topic/136641-trigger-window-app-with-php/#findComment-713510 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.