Re: trying to launch kate from the browser....
| From: | Ashley Sheridan | Date: | Fri, 08 Jan 2010 12:49:58 +0000 |
| Subject: | Re: trying to launch kate from the browser.... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300905@lists.php.net to get a copy of this message | ||
On Fri, 2010-01-08 at 13:48 +0100, Rene Veerman wrote:
> Thanks for the reply..
>
> I only need this to work locally on the web-server for now..
>
> So i'm calling a script through ajax routines, which would do the
> exec().
> Since it's on the local webserver, that should work, right?
No, the server is very different from the client, even if they are on
the same machine. I know of no way you can have an HTML link open up
software on your machine. If it were possible, that would open up a
whole world of security issues.
What about making the link something like ftp://localhost/somefile and
have an FTP server set up on the same machine. You could set up your
local machine to respond as you wish to the ftp:// link (might be easier
to configure in Konqueror)
Thanks,
Ash
http://www.ashleysheridan.co.uk