This is a discussion on FLASH & PHP - accessing variables within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi everyone, I have also posted this in alt.php but with no answer yet, hope someone can help... I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everyone,
I have also posted this in alt.php but with no answer yet, hope someone can help... I have been using php for a while, but now i am having a go with flash and passing variables to php to access mysql database. Though I can do all this fine, one thing is confusing me in my current limited knowledge of this. I hope I can explain this clearly enough... If a swf is being loaded in a php page that has a get or post variable available, eg. $_REQUEST['myVar'] = "myValue", why can't I access these from the php being called with sendAndLoad() in the swf? Is there a way to send these along with sendAndLoad()? How would I get these variables into the swf? I know that a query string can be hard coded into the <PARAM> tag, but the problem with this is that the variables are dynamic, there could be heaps of them and they are sometimes POST vars as well. I could be missing something really basic here, and I have searched extensively in the groups and web to shed some light. If anyone has any suggestions, I would greatly appreciate it. Cheers John |