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?
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
0
arkam chouAuthor Commented:
with these configure, how can I remote to MDaemon Mail Server and do as I ask?
0
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.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy 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 network-tools.com, 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.

http://www.solarwinds.com/network-performance-monitor-vb.aspx

http://network-tools.com/
0
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.
0
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?
0
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
http://www.hackingwithphp.com/14/1/3/advanced-com

Also google WinSendKeys - that might bring up some resources.
0

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
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.