passing variables between flash5 and php

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
bobg
Forum Newbie
Posts: 3
Joined: Tue Aug 06, 2002 3:56 am

passing variables between flash5 and php

Post 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
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

I think you can use $_POST vairable like this:-

Code: Select all

$_POSTї"field name"]
User avatar
enygma
Site Admin
Posts: 175
Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx

Post 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....
Stoyanski
Forum Newbie
Posts: 15
Joined: Sun Jun 02, 2002 9:33 am
Location: BG
Contact:

Post by Stoyanski »

I'm not quite shure that can be POST-ed somehow
Post Reply