# Help on loading variables from one swf to another swf via php

**URL:** https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149
**Category:** flash
**Created:** [August 4, 2011, 5:47pm UTC](https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149 "2011-08-04T17:47:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jatintalwar](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)
#### Post date: [August 4, 2011, 5:47pm UTC](https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149/1 "2011-08-04T17:47:12Z")

</div>

Guys  
This question might be a common one …I too have googled for it a lot but cudnt find the solution for my problem.

I have a swf file that loads variable into a php file by :

```auto
my_lv.send("file.php","_blank","POST");

```

php then uses these variables.

I have embedded a second swf file inside this php file( php coding between html tags ) . How can I make this second swf file load these variables that were passed from the first swf file ??  
Lets say the my\_lv had 3 values of variables my\_lv.1=1 ,my\_lv.2=2 , my\_lv.3=3 . They are present inside the file.php as $1 , $2 and $3 .  
How can i load just the $3 to the second swf ???

I hope my question is clear .

Really look forwards to help from experts as always.  
Thanks in anticipation …
