Reply to Re: Calling application (.exe) from PHP on XP

Your name:

Reply:


Posted by Mike Youell on 04/11/06 15:51

Hi Gerry,

Thanks for your help.

I piped the output to NUL and later to a file but it still didn't work.

I think it's an XP problem, probably to do with permissions or
something, but no log file info so it's just complete guess work.

I tried everything suggested on news groups (going back a few years)
and on websites, and asked a highly experienced friend yet nothing
worked.

So in the end I created a listener "process" (actually a 15 line DOS
batch file for now) external to PHP which listens for system events
triggered by PHP, i.e. PHP creates a file which the listener process
uses to call the relevant application. The file is deleted once
processed by the listening batch file.

I've put some simple handshaking in there so PHP can talk to the
listener process.

Anyway I've sorted it. Not perfect but then what is ;o)

Again, thanks for your help :o)

Mike Youell.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация