Re: note 9561 added to fopen
| From: | Ron Chmara | Date: | Sun, 12 Nov 2000 04:15:13 +0000 |
| Subject: | Re: note 9561 added to fopen | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-7613@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> You can't.
>
> On 11 Nov 2000 tait@mediaafeks.com wrote:
>
> > Does anyone know how to open a program (application) on a clients computer using server
> > side scripting in php4?
Just to expand: PHP alone can't do this. You can trigger an attempted download
to a folder on a Mac machine which can then trigger a program, if that folder has
an action to it. You can use MS Active X interpreters to open up applications
for unusual filetypes. You can have users set up a MIME type to trigger an
application. You can set up a cron job similar to the mac os setup, and in a minute
or so, launch an app, you can create java applets for users to download and
run, or shockwave mini-applets...
But you can't force it. That would lead to people creating remote drive-formatting
virii, so viewing a web page would suddenly be a very, very, bad thing. And while
PHP can help you with some of the other things, it's not designed to do things
on/to a users hard drive, beyond forms, downloads, and cookies.
-Bop
--
Brought to you from iBop the iMac, a MacOS, Win95, Win98, LinuxPPC machine,
which is currently in MacOS land. Your bopping may vary.