sending value from php to flash

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gecko
Forum Commoner
Posts: 34
Joined: Thu Oct 24, 2002 3:45 am

sending value from php to flash

Post 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
Post Reply