I have a html page with a swf in it.
the code for this file is:
<HTML>
<HEAD>
<TITLE>domain1</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<a href=http://www.domain.com/index.php?ref=fred></A>
<OBJECT classid="clsid😃27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=468 HEIGHT=60>
<PARAM NAME=movie VALUE="domain1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="domain1.swf" quality=high bgcolor=#FFFFFF WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>
If I click on it, it does go to the index.php file BUT I am trying to pass the "ref" variable but it does not come through.
Is there anything I need to do to the php file so I can capture that "ref" variable?
in the index.php file, this is a code snipped:
if ($ref)
{
$date = gmstrftime("%A, %d-%b-%Y %H:%M:%S",(mktime()+6400) );
$HTTP_HOST = "www.domain.com";
SetCookie ("ref","$ref");
setcookie("REF", "$ref", (time()+2592000), "/", "$HTTP_HOST");
If anyone could please help, that would be greatly appreciated.
Not sure why the smiley got in. Something that has to do with : D I think