var lvSend = new LoadVars();
var lvReceive = new LoadVars();
lvSend.sendAndLoad(“http://192.168.1.9/projects/khelorummy/user/getcardimages.php",lvReceive,"get”);
lvReceive.root = this;
lvReceive.onLoad = function(bSuccess) {
var mcLoaderThree:MovieClipLoader = new MovieClipLoader();
mcLoaderThree.addListener(this);
for (var i = 1; i<=this.n; i++) {
var containerThree:MovieClip = createEmptyMovieClip(“containerThree”+i, i);
containerThree._name = this[“label”+i]+i;
mcLoaderThree.loadClip(“http://192.168.1.9/projects/khelorummy/cards/"+this[“label”+i]+".gif”, containerThree);
mc._x = 20*i;
mc._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;
xstart = this._x;
ystart = this._y;
lvReceive.imgname = imgname;
//lvReceive.sendAndLoad(“http://sumanth/test/flash/ftop.php”, lvReceive,“post”);
}
}
images are displaying in browser but how to send them to php.
where i have to put this code< in getcardimages.php or another prg ftop.php?
<?php
$imgname = $_POST[‘imgname’];
echo “&phpVar=” . $imgname;
?>