Reply to Re: protecting mp3's - follow up

Your name:

Reply:


Posted by Norman Peelman on 12/03/06 01:48

"Brian Huether" <bhuetherNO@comcastSPAM.net> wrote in message
news:neednVcT8u3VOuzYnZ2dnUVZ_qCdnZ2d@comcast.com...
> I have since learned that the proper way to stream is to create an m3u
file
> which will cause the default browser to stream the mp3. But my audio files
> are external to the web dir. And I simply can not get fpassthru to work.
>
> thanks,
>
> brian
>
>

You may need to open the file in binary mode as well:

fopen($filename,'rb');

or check into the 'readfile()' function as you need no fopen() to dump the
file to the client...

Norm
--
FREE Avatar hosting at www.easyavatar.com

[Back to original 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

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