You are here: Re: exec to run media player on server? « PHP Programming Language « IT news, forums, messages
Re: exec to run media player on server?

Posted by Andy Hassall on 06/28/05 22:49

On Tue, 28 Jun 2005 11:25:46 -0400, "Mike Wasilewski" <mlmw@bellsouth.net>
wrote:

>Is it possible to allow a web user (intranet) to launch Media Player on the
>web server? I would like to use a web server as a media server and be able
>to access and queue mp3 and wma files via a web page. Using IIS 6 and PHP5.
>
>I have tried using the exec() command but MP does not launch and there is no
>error reported in the browser.

This sounds like a bad idea in general, but OK. I can get it to launch WMP
from Apache by enabling "allow service to interact with desktop" in services.
Doesn't work at all if Apache logs on as my actual username, though.

This begs the question - what will it do when there's no desktop?

There may be a better way to do it - is this for remote control of a headless
PC running as a media system?

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация