you might need to set the content-type...

-----Original Message-----
From: Bryant Brabson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 9:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] include or fread a binary file?


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?

Reply via email to