SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard ChrisRoss's Avatar
    Join Date
    Jun 2002
    Location
    MI
    Posts
    2,535
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flash - Login and Password

    Hi all -

    I want to send a post command to a PHP page via flash... Basically, its a webmail login page in HTML that I want to be in flash.

    1: <form method="Post" action="http://yourmailserver/sm/src/redirect.php">
    2: <center>
    3: <table border="0">
    4: <tr>
    5: <td>Email Address/td>
    6: <td><input type="text" name="login_username" size="16" maxlength="128" /></td>
    7: <td></td>
    8: </tr>
    9: <tr>
    10: <td>Password/td>
    11: <td><input type="password" name="secretkey" size="16" maxlegth="128" /></td>
    12: <td><input type="submit" value="Login" /></td>
    13: </tr>
    14: </table>
    15: </center>
    16: </form>
    I'm not a flash expert, but this doesn't seem like it would be that hard... When I try a "post" it doesn't seem to go to the redirect page. When I do I "get" it doesn't seem to send the variables?? Any ideas.
    Golf Outings? OutingCaddy.com
    Organize - Invite - Create Free website for your golf outing!

  2. #2
    SitePoint Wizard ChrisRoss's Avatar
    Join Date
    Jun 2002
    Location
    MI
    Posts
    2,535
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay to add to this... I'm using:

    "myLoadVars.send ("http://yourmailserver/sm/src/redirect.php", "_blank", "POST");

    But it doesn't seem to be opening another window or sending anything... Nothing happens when I hit submit.
    Golf Outings? OutingCaddy.com
    Organize - Invite - Create Free website for your golf outing!

  3. #3
    SitePoint Wizard ChrisRoss's Avatar
    Join Date
    Jun 2002
    Location
    MI
    Posts
    2,535
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Figured it out... I was using "Send", changed it to "GET" and it worked.
    Golf Outings? OutingCaddy.com
    Organize - Invite - Create Free website for your golf outing!

  4. #4
    SitePoint Wizard ChrisRoss's Avatar
    Join Date
    Jun 2002
    Location
    MI
    Posts
    2,535
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rep points to myself
    Golf Outings? OutingCaddy.com
    Organize - Invite - Create Free website for your golf outing!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •