Re: How to properly serve a file via a wrapper.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-12-08 at 07:11 -0800, Michael A. Peters wrote:

> Please help.
> 
> I thought I had this squared away, but apparently not.
> I need to be able to use a php wrapper to serve a file stored outside 
> the web root.
> 
> Works great for downloads / images - but my wrapper seems broken for 
> media files to be played.
> 
> My wrapper:
> 
> http://www.shastaherps.org/bugs/rdb_audio.phps
> 
> Demonstration of issue:
> 
> http://www.shastaherps.org/bugs/wrapperBug.html
> 
> What am I missing??
> 


What's the code to your wrapper? If you're using sessions as some form
of validation, you should be aware that media player plugins don't send
full headers to the server when requesting the file, including sessions
headers.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux