Page 1 of 1

sending value from php to flash

Posted: Sat Jan 31, 2004 2:38 pm
by gecko
i am sending variable values from flash to a php file using superglobals, which is working just fine. I would like to send a value back to my flash file for a variable named 'Done' with a value 'Okay'. In past versions of PHP I thinks we would simply use:

$Done = 'Okay';

this would work just fine.

I realize that i should use superglobals here, but I am not too sure how to declare the variable.

I have tried something like this:

$Done='okay';
$Done=$_POST['Done'];

But that does not work.

Any suggestions.

Thanks
Hans