Ganael Posted March 1, 2006 Share Posted March 1, 2006 Hi I'm triing to submit the Login information and sending them to two different URLs at the same time with the POST method, I also want to use 1 time the target "_blank", and then the target "_self".This is needed to open a php file which checks if the login is valid, and start my flash application. that Flash application need to get some variables of my DB, so I must write in my first window (with the form object) the following : "&MyVar=$MyVar"The problem is that I don't know how to send the input of my form object, at the same moment, at my window with the flash application and at my homepage...I NEED HELP!!! Link to comment Share on other sites More sharing options...
aspnetguy Posted March 1, 2006 Share Posted March 1, 2006 Hi I'm triing to submit the Login information and sending them to two different URLs at the same time with the POST method, I also want to use 1 time the target "_blank", and then the target "_self".This is needed to open a php file which checks if the login is valid, and start my flash application. that Flash application need to get some variables of my DB, so I must write in my first window (with the form object) the following : "&MyVar=$MyVar"The problem is that I don't know how to send the input of my form object, at the same moment, at my window with the flash application and at my homepage...I NEED HELP!!! <{POST_SNAPBACK}> You cannot send it to 2 different locations at once and you cannot use the target attribute more than once.You may need to process everything in one php file then open the flash app in a new window once the authentication is complete. Link to comment Share on other sites More sharing options...
Ganael Posted March 1, 2006 Author Share Posted March 1, 2006 thx, but how can I open with php my flash application in a other window(I used echo '<script>location.assign("LostHorizon1.3.swf")</script>' Link to comment Share on other sites More sharing options...
aspnetguy Posted March 1, 2006 Share Posted March 1, 2006 thx, but how can I open with php my flash application in a other window(I used echo '<script>location.assign("LostHorizon1.3.swf")</script>'<{POST_SNAPBACK}> echo "<script>window.open('url to flash app')</script>" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now