Variables from flash to php.

I want to send variables out of a flash file and use them in a php page.

The actionscript currently stands as.....

varsToSend = new LoadVars();
      varsToSend.table_name = "tblPilot";
      varsToSend.Response="it_" + item + ":res_" + resp + ":rt_" + rt + ":sq_" + seq;
      varsToSend.confirmation_page = "";

and the PHP is

echo $_POST['Item_0026_Response'];

it does not print the variable as expected. Can anyone tell me why?
Who is Participating?
FLAASHERConnect With a Mentor Commented:
here is ur problem :

in PHP try to print this :

echo $_POST['confirmation_page'];

it will work fine :)

this becuse $_POST['Item_0026_Response'] come  from flash as vriable BUT $_POST['Item_0026_Response'] have undefinded vribales in flash like seq, resp, item and rt

dfine this vriables frist and try again

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.