# Need help passing PHP variable through flash MC

**URL:** https://forum.kirupa.com/t/need-help-passing-php-variable-through-flash-mc/293453
**Category:** flash
**Created:** [July 29, 2009, 6:58am UTC](https://forum.kirupa.com/t/need-help-passing-php-variable-through-flash-mc/293453 "2009-07-29T06:58:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gk\_interactive](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gk\_interactive](https://forum.kirupa.com/u/gk_interactive)
#### Post date: [July 29, 2009, 6:58am UTC](https://forum.kirupa.com/t/need-help-passing-php-variable-through-flash-mc/293453/1 "2009-07-29T06:58:10Z")

</div>

Need to get a flash banner to carry through PHP session download. The PHP code is below;

\<a href=“[http://download.site.com/viperML/site/download.asp?file\_name=site.exe&ul=](http://download.site.com/viperML/site/download.asp?file_name=site.exe&ul=)\<?php echo $\_SESSION[‘language’]; ?\>&lang=\<?php echo $\_SESSION[‘language’]; ?\>&banner\_tag=\<?php echo $\_SESSION[‘btag’]; ?\>”\>

The above carries through the affiliate ID together with Site Language which user has come to. The above works fine, what I need to now do is have my flash button call the same function…
