I load Flash file using PHP.
test.php :
$widget = WidgetFactory::getInstanceByHash($_GET['hash']);
$file = $widget->getUrl();
$_GET['param1'] = "97df5ea7342b7e55b7ef3d402b585d1a";
header("Content-Type: application/x-shockwave-flash");
readfile($file);
The url of $file is for example : "http://adresse/component1.swf?param1=XXX"
If I type "http://adresse/test.php?hash=XXXXXXXXXXXXX" in my browser, I can see the flash file WITHOUT the parameter param1.
I tried to add : $_GET['param1'] = "97df5ea7342b7e55b7ef3d402b585d1a";
But it doesn't works.
So, I want to know if it is possible to add parameters by using header function...