I’m having an issue trying to use the loadvars.send to send a string into php, everytime i try and run the script it comes up saying that the variable is an undefined index. I’m using something similar to this:
function sendData() {
var output:LoadVars = new LoadVars();
output.img = "hello"
output.send("../saveBitmap.php", "output", "POST");
}
and the php picking it up is
$img = $_POST['img'];
echo $img;
anyone able to help out on this one???
ads