Re: Re: How to execute local applications on the client

From: Date: Tue, 07 Jun 2005 18:22:38 +0000
Subject: Re: Re: How to execute local applications on the client
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-216577@lists.php.net to get a copy of this message
Matthew Weier O'Phinney wrote:
* Mauricio Pellegrini <hrrg-inf@speedy.com.ar>:
Some one has asked me to set a web page from within wich users could launch local applications. Those applications are allready installed in the client PC. The link on the web page would act as a simple link to start the application.
system()
No, that won't work. system() will execute a command on the server, not the client. There is no 'true' way to launch all applications on the client in php. You could however make the client launch things like Word and Excel by sending the proper headers. But this may not work on all, ex if you send a header to simulate a Word document, and the client has OO set as the handler for *.doc, it's going to open OO and not MS Word. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#216577) next »