[thelist] PHP & COM on Windows

Christian Heilmann codepo8 at gmail.com
Tue Aug 2 04:07:24 CDT 2005


On 8/1/05, Tim Massey <Tim.Massey at itrm.co.uk> wrote:
> I'm starting to get into COM scripting from PHP and have come across an
> annoying issue. I can start an instance of notepad.exe but the app never
> gets focus or is visible on screen.
> 
> It definitely runs - and is seen in Task Manager - but I can not see it!
> I have tried the appactivate() method without success.
> 
> Does anyone know of a good reference sites to learn more about using COM
> from PHP?
> 
> Many thanks.

This sounds like a very very insecure app to me. I can upload some
malformed DOC and you will paste it into notepad on your box. I am
sure that can be abused badly. Why don't you just parse the DOC once
it was uploaded instead?

-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/


More information about the thelist mailing list