Re: Launch windows application and fle
| From: | Greg Donald | Date: | Fri, 10 Dec 2004 12:45:57 +0000 |
| Subject: | Re: Launch windows application and fle | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203920@lists.php.net to get a copy of this message | ||
On Fri, 10 Dec 2004 05:38:34 -0400, Chris Mason <lists@masonc.com> wrote:
> I have an internal application requirement to generate a webpage that lists
> media files (movies) on our linux server and when the user clicks the name
> of the file on the webpage, launch the application on the local machine
> playing the correct file. How can I accomplish that? I know the computers
> that will be used, this is not on the internet so there are no security
> concerns. I can change and configure the browsers at will, this is a single
> purpose computer under my direct control on which I have installed the
> application.
I would detect and send over the correct file type header(), then pass
the file with readfile().
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/