How to get variables from FLASH through $_POST method then submit to Aweber?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rey Sagana
    New Member
    • Sep 2010
    • 2

    How to get variables from FLASH through $_POST method then submit to Aweber?

    Hi Everyone,

    Anybody who can help me with this? I am trying to get variables from a flash quiz application and submit them to aWeber.com for initiate a subscription. I has several attempts at doing this but to no avail. Anyone who can help me?

    The instruction provided by aWeber is that the method should be POST and that the action must be set to "http://www.aweber.com/scripts/addlead.pl". and the inputs should look normal
    Code:
    <input type="text" name="email" value="" />
    if i were to use a form. i cannot however make use of one because that's what the flash application is for. another problem is that i cannot edit the ActionScript on the flash file since i don't have the source file (.FLA) anymore but only the .SWF file? How do i go around getting this done using php? because the .swf file posts the variables to a send.php file which inserts them to a mysql database but i also have to send them to aWeber and i don't know how to do it. I hope someone can help me out.

    i have the files attached so you can check. thanks in advance!
    Attached Files
  • kovik
    Recognized Expert Top Contributor
    • Jun 2007
    • 1044

    #2
    Flash posts the variables to another page? You can then post those values to another page by using cURL. It's a native PHP extension, so it should already be active on your server.

    Comment

    • Rey Sagana
      New Member
      • Sep 2010
      • 2

      #3
      cURL

      i tried to use cURL but it's not working for some reason. would you like to check what i did? i can maybe email it to you.

      Comment

      • kovik
        Recognized Expert Top Contributor
        • Jun 2007
        • 1044

        #4
        Post it here, with all sensitive information (passwords, emails) blocked out with asterisks or something.

        Comment

        Working...