Online Shopping : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

35 of 84 people (42%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How can i embed a .swf in a PHP script?? without using Ming

Nov 28th, 2008 07:23
healthy man, Alex Dean, snakeyes,


If you just want to embed a .swf (without manipulating it) simply exit
PHP mode and add an <object> tag just like you would with normal HTML. 
After you've added this HTML, you can continue with PHP if you want.
<?php
  //a bunch of php...
?>
  <object width="100" height="100">
    <!-- param tags as necessary for your .swf -->
    <embed src="whatever.swf"></embed>
  </object>
<?php
  // more php code if you want...
?>
http://www.healthdothealth.com
http://www.healthxhealth.com
http://www.mesotheliomainmesothelioma.com
http://www.healthfirewall.com
http://www.flathealth.com
http://www.healthbodyguard.com