HTML form -> Flash submit button -> Set a PHP variable in flash button -> Submit form

Posted by RobHardgood on Stack Overflow See other posts from Stack Overflow or by RobHardgood
Published on 2010-05-08T00:25:37Z Indexed on 2010/05/08 0:28 UTC
Read the original article Hit count: 688

Filed under:
|
|
|
|

Okay, I'm sorry that this is pretty complicated, but it shouldn't be that hard to solve...

Here's what I want to do. I have an HTML form that I want to upload to MySQL with PHP. That part's easy, but the thing is I want the submit button to be a Flash object. Somehow I need the Flash button to submit the form, but I think I can figure that out. The tricky part is that I need it to set another PHP variable before submitting the form. The variable will be determined by a bunch of stuff, but I can code that in actionscript later. I just need to figure out how to pass the variable back to the webpage. A $_POST variable would probably be fine.

Thanks!! Let me know if I need to clarify more...

© Stack Overflow or respective owner

Related posts about php

Related posts about flash