PHP Control Desktop Application

Dear Expert,

can we develop web for control other desktop application? if can, what is the process step?
Example: I remote to mail server (MDaemon) than
click Account menu->click Exporting-> click export account to......
arkam chouAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
programs that run in a browser run in a sandbox and cannot be executed. With firefox you can fiddle with the about:config and setting the security.fileuri.strict_origin_policy:false,  capability.policy.default.checkloaduri.enabled:allAccess
arkam chouAuthor Commented:
with these configure, how can I remote to MDaemon Mail Server and do as I ask?
Julian HansenCommented:
Your question is not clear.

PHP is a server side script - it does not run on the client side - it is used to generate HTML that is sent to the browser.

When you say
I remote to mail server (MDaemon)
What do you mean by this - and how does it relate to your question.
It sounds like you are wanting to write a web application to remotely control an application.

This is not possible unless the application has specifically been coded to allow this - as the above post alludes to code in the browser cannot interact with applications outside of the browser.

What is it you are actually wanting to do? When you use terms like remoting - the question to be asked is why not use remote desktop or teamviewer - how does PHP relate to your requirement.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

arkam chouAuthor Commented:
I used to see many web application that has ability to remote monitoring and configure other computer and network device. for, I saw that it test network by ping, tracert.. etc. I think that it use php to get result from server and it look like php has ability to use ping, tracert. So I think that we can build web application for remote control other application.
Julian HansenCommented:
So I think that we can build web application for remote control other application
Sending a ping request and remote controlling a remote application are two different things.

A ping is something that can be initiated from a PHP script quite easily - as it is a fairly simple network function. Remote controlling an application is dependent on what the application exposes in the form of interfaces (API).

If the application does expose an API for remote management then it is possible to use PHP to interface to that API, however to make a generic statement that PHP can remote control ANY application is not valid as it is dependent on each application OR each application interface.
arkam chouAuthor Commented:
does we have anyway to control?
example that most application has their shortcut key (ctrl+f,..), so we use shortcut to control?
Julian HansenCommented:
does we have anyway to control?

As I said before it depends on the application.

You can look at this article to investigate sending keystrokes to an application

Also google WinSendKeys - that might bring up some resources.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.