You are here: Re: Flash mp3 player problems..... « HTML « IT news, forums, messages
Re: Flash mp3 player problems.....

Posted by cwdjrxyz on 11/22/54 11:38

Toby Inkster wrote:
> cwdjrxyz wrote:
>
> > An example is at http://www.cwdjr.net/souearly/songs2Root.php . Much
> > of the code is written in php which you will not be able to see when you
> > view the source, but I can supply a text file of the php.
>
> Tip for writing example PHP files...
>
> 1. Include the following at the very top of your PHP file:
>
> <?php
> if ($_GET['source']) {
> highlight_file($_SERVER['SCRIPT_FILENAME']);
> exit;
> }
> ?>
>
> 2. And include the following near the end:
>
> <p><a href="<?=$_SERVER['PHP_SELF']?>?source=1">View source.</a></p>

Thanks, Toby. That is useful when you want someone to view the php code
easily. Actually the page I gave is just part of a set of pages that
can be reached at http://www.cwdjr.info/media/playersRoot.php . Links
to the external script, php text, etc are given near the bottom of the
page under the description of the scripted WMP embedded player. I have
been working on a new section for several embedded broadband video
formats, and this will be added sometime in the future. At that time I
might revise older parts of the page set somewhat.

However, I should note that one can use the basic WMP player, without a
lot of fancy stuff and without script, to play a .wax playlist which
can contain a mixture of several audio formats supported by the WMP.
The link at the extreme upper left of the page referenced is such an
enbedded example.

 

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

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