Hello Bryant,

Thursday, November 29, 2001, 12:56:07 AM, you've written:
BB> I have a flash file that I need to embed in an iframe on a page. I
BB> dynamically get the path to the file from a MySQL database. I've
BB> tried to include the file and use fopen/fread to execute the
BB> file, but I only get binary code back, which makes sense actually.
BB> What's the best way to go about this?

Maybe something like:
header("Content-type: image/swf-flash");
(if I am not mistaken)

Or just <embed src="filename.swf"></embed> would be easier? :)


------------------------------------------------
Ivan 'Faeton aka xetrix' Danishevsky
ICQ(240266) [EMAIL PROTECTED] www.xemichat.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to