Re: Question about Launching and Application with PHp
| From: | David Robley | Date: | Wed, 23 Aug 2000 01:30:54 +0000 |
| Subject: | Re: Question about Launching and Application with PHp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13057@lists.php.net to get a copy of this message | ||
On 22 Aug, Phillip S. Baker wrote:
> Greetings All,
>
> In PHP (version 4)
>
> I am running a script locally on my own hard drive. It is going to be
> staying this way.
> What I want to be able to do it to click on a link on a php page.
>
> This link would open a file locally on my hard drive and execute the
> file, so that this particular file will then launch the appropriate
> application and play back.
>
> Is this even possible with PHp and if so how would I go about doing it?
>
> Thanks
> --
>
> Phillip S. Baker
>
> phillip@wordsandimages.com
> Words & Images, Inc.
> 1535 Seabright Avenue, Suite 100, Santa Cruz, CA 95062
> Direct Line (831) 420-2641 / Fax (831) 458-0808
>
Look at the program execution functions exec(), system(), passthru() or
escapeshellcmd() for something that might serve the purpose.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA