How can i run the exe file on the web page using php? please help me out i tried exec('filename.exe');
but it could not execute

Recommended Answers

I cannot help you much on this but try COM Library: http://php.net/manual/en/book.com.php
Use this article as reference: http://devzone.zend.com/238/com_dotnet/

Jump to Post

All 3 Replies

Yes you should consult any php developer.

but it could not execute

How so? What error messages did you receive? What did the exec function return?

The server you are trying to execute this one, is it a local server or an a host somewhere? Are you sure it's a Windows based server?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.