Page 1 of 1

Setting Flash MX 2004 Var. So PHP can read it?

Posted: Tue Aug 24, 2004 11:03 am
by GlennCurtis
Hi Guys,


I have being trying for a while now but all the things i do DON'T work! I need to be able to set up an input txt flied inside a Flash MX 2004 file and set a verable and read it in a PHP file.

Now I know that the PHP file works, did a simple test and it can read a verables set in an HTML fiel ok, but any way a set it inside flash, it just dosen't work!!!

Please any help an one can give me will be very welcome, as at this point iam pulling my hair out....

Thanks, Glenn.

Posted: Tue Aug 24, 2004 11:15 am
by feyd
send the variable via a url query from flash:

foo.com/your_script_file.php?your_variable_name=your_value

and inside the script: $_GET['your_variable_name'] is 'your_value'

Posted: Tue Aug 24, 2004 3:12 pm
by GlennCurtis
Thanks mate,

But this didn't work, I try it again and again but no matter what i do this will only work if i give it a fixed value and not take the user input, that i need!

I just dont think that i have set the var name right inside flash but i have never had to do this before, so i just dont know!!

Please any one else have anything else that i could try?

Glenn.

Posted: Tue Aug 24, 2004 3:28 pm
by feyd