Page 1 of 1

passing variables between flash5 and php

Posted: Mon Aug 12, 2002 6:07 am
by bobg
Hi everyone, can somebody please help me in achieving the following task. I have got a variable in my flash5 program, trying to pass it to my PHP script using the code below:-

loadVariablesNum("check.php",_root,"POST")

my textbox in flash has got a variable called check attached to it, but I am still unable to get it working. Also can someone please tell me the difference between loadVariablesNum and loadVariables. when to use either.

thanks for all your help..
BOB.B

Posted: Tue Aug 20, 2002 1:14 am
by Takuma
I think you can use $_POST vairable like this:-

Code: Select all

$_POSTї"field name"]

Posted: Tue Aug 20, 2002 9:06 am
by enygma
the only way i was able to get it working pretty well was to send it to the PHP script through GET, like this:

loadVariablesNum("check.php?check="+check,_root,"POST")

or something similar. I know you should be able to POST, but I never figured out how to get it to work, and I haven't touched it in over a year.

hope this helps somewhat....

Posted: Thu Sep 05, 2002 6:54 pm
by Stoyanski
I'm not quite shure that can be POST-ed somehow