So I have an iframe of a Flash application, which needs to have the GET parameters for the src as a link to a dynamically generated XML configuration file. This is generated using PHP and also has some variables passed through GET as well.
like this:
<embed id="thingID" src="Thing.swf?license=xxxx&config=generateConfig.php?layoutType=grid&nColumns=2&nRows=4&"
width="100%" height="100%">
</embed>
The problem is that this doesn't work. I think that "Thing.swf" is capturing the parameters that are meant to go to "generateConfig.php", but I cant find out how to separate these.
Working now. needed to urlencode("generateConfig.php?layoutType=grid&nColumns=2&nRows=4");
Thanks!!
You're missing the ending "
<embed id="thingID" src="Thing.swf?license=xxxx&config=generateConfig.php?layoutType=grid&nColumns=2&nRows=4&"
width="100%" height="100%">
</embed>
I would also opt to remove the extra &
.