# How to send flash values to php?

**URL:** <https://forum.kirupa.com/t/how-to-send-flash-values-to-php/220660>\
**Category:** Uncategorized\
**Created:** [March 28, 2007, 4:00am UTC](https://forum.kirupa.com/t/how-to-send-flash-values-to-php/220660 "2007-03-28T04:00:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradeepareddy](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pradeepareddy](https://forum.kirupa.com/u/pradeepareddy)\
**Post date:** [March 28, 2007, 4:00am UTC](https://forum.kirupa.com/t/how-to-send-flash-values-to-php/220660/1 "2007-03-28T04:00:36Z")

</div>

my code is:

var lvReceive = new LoadVars();  
var mcLoaderThree:MovieClipLoader = new MovieClipLoader();  
mcLoaderThree.addListener(this);  
for (var i = 1; i\<=9; i++) {  
var containerThree:MovieClip = createEmptyMovieClip(“containerThree”+i, i);  
containerThree.\_name = “s”+i;  
mcLoaderThree.loadClip(“[http://sumanth/test/flash/cards/cardsgif/s"+i+".gif](http://sumanth/test/flash/cards/cardsgif/s%22+i+%22.gif)”, containerThree);  
containerThree.\_x = 20\*i;  
containerThree.\_y = 10;  
}  
function onLoadInit(mc:MovieClip) {  
mc.onPress=function()  
{  
this.startDrag();  
xstart = this.\_x;  
ystart = this.\_y;  
}  
mc.onRelease=function()  
{  
this.stopDrag();  
var imgname = this.\_name;  
//trace(imgname);  
xstart = this.\_x;  
ystart = this.\_y;  
lvReceive.loadVariables(“[http://sumanth/test/flash/ftop.php](http://sumanth/test/flash/ftop.php)”, “”, “\_POST”)  
}  
}

ftop.php is:

\<?php  
$imgname = $\_POST[‘imgname’];  
echo $imgname;  
?\>

when i execute [http://sumanth/test/flash/ftop.php](http://sumanth/test/flash/ftop.php) nothing is displaying why?  
i also checked with  
lvReceive.SendAndLoad(“[http://sumanth/test/flash/ftop.php](http://sumanth/test/flash/ftop.php)”, lvReceive,“POST”);  
but no use  
plz give me the solution thanks in advance…
