How to properly serve a file via a wrapper.
| From: | Michael A. Peters | Date: | Tue, 08 Dec 2009 15:11:19 +0000 |
| Subject: | How to properly serve a file via a wrapper. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-300311@lists.php.net to get a copy of this message | ||
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??