Computer Science Canada

Getting information from a php file

Author:  Amailer [ Sun Oct 26, 2003 10:54 am ]
Post subject:  Getting information from a php file

Ok,
How can i connect to a php file (using flash/action scripts) and then display the information from a variable named: file_array?

anyone know?

Author:  Tony [ Sun Oct 26, 2003 12:11 pm ]
Post subject: 

my guess would be to create an array (or just a string to simplify matters) in flash, and assign it a value of PHP page Laughing

Then extract your list from there.

Author:  Amailer [ Sun Oct 26, 2003 12:33 pm ]
Post subject: 

How do i load the php file in flash?
and how do i select a variable?

Author:  Tony [ Sun Oct 26, 2003 12:41 pm ]
Post subject: 

you dont "load" the file in flash. You just access page over the net. Dont ask me how, I dont know much about Flash.

But the idea here is same as if was turing (for example) instead of Flash. You read what www.whatever.com/grabYourValue.php returns and store that in your variable.

Author:  Amailer [ Sun Oct 26, 2003 12:44 pm ]
Post subject: 

Well, idk how also! Very Happy must know how!


: