RE: [PHP] include or fread a binary file?

From: Date: Wed, 28 Nov 2001 23:02:55 +0000
Subject: RE: [PHP] include or fread a binary file?
Groups: php.general 
Request: Send a blank email to php-general+get-75959@lists.php.net to get a copy of this message
you might need to set the content-type... -----Original Message----- From: Bryant Brabson [mailto:bryant@tallent.com] Sent: Thursday, November 29, 2001 9:56 AM To: php-general@lists.php.net 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?

« previous php.general (#75959) next »