Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2005, 09:57 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default Insane Question

PHP is suppose to be the "new" support to write website but I suspect we can achieve way more..

Will it be theoretically possible to run a "Winamp" or media player from a PHP code without having to upload the document (ie music/video) to the server?

Did anyone ever try to create such "apps" ?
 
Old February 6th, 2005, 06:53 PM
Authorized User
 
Join Date: Dec 2004
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to colin.horne
Default

I'm not sure if I know what you mean. If you mean, can we get php to play music on the clients browser, the answer is a definite "no".

PHP is server sided, so all we can do from the server is let the client download the music, and put in the proper HTTP headers to get a plugin to play the music.

Cheers

--
Please contact me at:
Colin (dot) Horne (at) gmail (dot) com
 
Old February 8th, 2005, 11:03 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

I think it would depend entirely on what you have in mind. If you want PHP to run winamp on the /server/, considering that winamp is installed on the server OS, then I say it is possible.

As far as the client's browser, well then you're talking about a more complicated undertaking laden with security hurdles that you're unlikely to overcome without client approval. For the sake of argument I'd say that anything is possible given enough effort. Any solution would likely be a mix of more than one language, for instance PHP and Microsoft .NET, or PHP and Java. But anything you want to do on the client's machine is going to be met with security dialouges. You can't just launch software on the client's machine, if you could it'd probably be considered a virus or spyware.



Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old February 24th, 2005, 11:15 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What I was thinking of something in the lines of running programs equivalent to word/excel/powerpoint/winamp etc. from the server.

We are entering in the age of "permantly online" internet connection so there's no need for every PC/MAC/PDA to store the same program. with HTML/JAVA on every machine, it should be no issue to enable this and I can't see any downside of this!

So to return to my query will it be possible to run a server side apps which will be minimum download on the client and COULD run the data from the client with no need to upload those data to the server.

(Again)- Data are processed localy, but some/most of the program is run on the server.. ??
 
Old March 28th, 2005, 02:12 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Apology for intrusion.

I ask: streaming mp3s (. mp3 is !4streaming, i guess ) from server ( Linux ) without downloading on client; if .asf files stream from IIS ?
I guess, Flash files ( .swf ) can also stream from server ;)






Similar Threads
Thread Thread Starter Forum Replies Last Post
contains() question... CyanBlue XSLT 3 April 6th, 2006 03:37 AM
Question Ashwini Classic ASP Databases 3 January 10th, 2006 07:20 AM
Probably an old question Aiken Drum Beginning PHP 6 March 21st, 2004 08:45 PM
a question gorji C++ Programming 2 August 11th, 2003 07:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.