dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: send data to php

  1. #1
    Senior Member creekmonkey's Avatar
    Join Date
    Jul 2006
    Posts
    121

    send data to php

    Is there a way to send data to a php script such as

    getURL("URL", "target", "POST");
    without opening a new window or loading the php page in the current window?

    I have a highscore script i would like to use but not have it open a window via the post method. I would rather open it myself with a button so i can control the size and attributes of popup with javescript.

  2. #2
    Game Master ConnELITE's Avatar
    Join Date
    Apr 2005
    Location
    United States, DC
    Posts
    473
    I have an example made by ForumNewbie. He gave me it some time ago, maybe it will be of some use to you. The key part of it is the starting script.
    Attached Files Attached Files
    BC

  3. #3
    Senior Member creekmonkey's Avatar
    Join Date
    Jul 2006
    Posts
    121
    Thanks ConnELITE
    Using loadvariables("url", "POST") insted of getURL("url", "_method". "POST") works great. By using the loadvariables method I can send the data to the php and then get them back via a popup that I can change the attributes with javascript.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center