|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
PHP - Flash interaction
Hello!
I've got a problem: I can't get some variables loaded into my flash movie. It is meant for a login script. The actionscript, which posts the key: on (release) { loadVariablesNum("http://localhost/onderzoek-online/site2/dev/Login.php", 0, "GET"); if (access == 1) {getURL("http://www.onderzoek-online.nl", "_blank", "GET");} else {gotoAndStop(15);} } The PHP (test) script: <?PHP if($HTTP_GET_VARS["key"] == "correct-login") { echo "access=1"; } else { echo "access=0"; } ?> Thanks for helping me. |
|
#2
|
||||
|
||||
|
To make flash 'see' variables you have to make it like:
&access=1 so you can test the connection between flash and php with PHP Code:
and nothing more, when you get flash working with this, then create the correct function in the phpfile to set the access variable g'luck
__________________
TOO BUSY |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > PHP - Flash interaction |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|