I am trying to create a login section on my flash site that sends the variables username and password to a php login page. If that login is successful I would like the php section to open in a new window. If it fails I would like flash to be directed to an error message.
Can anyone help me. I have been working on this for days and have not gotten anywhere.
You can combine both echo statements or use print() if you prefer and you can update multiple variables.
You should also consider some kind of fail safe to detect if the browser/server hangs. The simplest way to do this is to declare a variable and then have the php page update it. You can then assign a timer that checks if the variable has been updated after a pre-determined interval.