<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=550 height=400>Those bolded areas are where you would normally have just the file name for example, xmascard.swf. In this case, though, we see that weve appended several PHP variables, separated from the filename by a question mark (?) and appended together by an ampersand (&). Move on to the next step for an explanation of how this works.
<param name=movie value="xmascard.swf?fromname=<?php echo $fromname; ?>&toname=<?php echo $toname; ?>&mymessage=<?php echo $mymessage; ?> ">
<param name=quality value=high>
<param name=bgcolor value=#FFFFFF>
<embed src="xmascard.swf?fromname=<?php echo $fromname; ?>&toname=<?php echo $toname; ?>&mymessage=<?php echo $mymessage; ?> " quality=high bgcolor=#FFFFFF width=550 height=400 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed> </object>
Note: Do not copy my code directly. Due to restrictions on the About.com templates, at times certain symbols in my code are altered on display in certain browsers, and they will cause your code not to work. Instead type your own code, only using mine as guidelines.


