include or fread a binary file?
| From: | Bryant Brabson | Date: | Wed, 28 Nov 2001 22:56:07 +0000 |
| Subject: | include or fread a binary file? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75957@lists.php.net to get a copy of this message | ||
I have a flash file that I need to embed in an iframe on a page. I dynamically get the path to the
file from a MySQL database. I've tried to include the file and use fopen/fread to execute the
file, but I only get binary code back, which makes sense actually. What's the best way to go
about this?