Results 1 to 2 of 2

Thread: Posting Data from XML file?

  1. #1
    Join Date
    Feb 2007
    Posts
    1

    Posting Data from XML file?

    Hi, everyone,

    I hope this is the right forum for this.

    I have created a Flash-based MP3 player that gets information from an XML file. It works fine. What I need is to be able to get the "most played" track data from the XML file and have it post the top ten results automatically to a web page.

    I've done some research on this, and have been reading about AJAX, but I'm not sure that's what I need.

    So, I guess my question would be: how do I get the "most played track" data from the XML file to post on a web page automatically?

    If anyone can even point me in the right direction, I'd be really grateful.

    Thanks so much!
    Charity

  2. #2
    Join Date
    Jan 2007
    Location
    HK
    Posts
    23
    Both Get or Post method will work for you. Not sure where you start to 'post' the information, the Flash? or the HTML that hosting the Flash?

    1. you should have a dynamic page working on your site, php or jsp.

    2. you can use Get method to 'post' those tracked informations, something like this:

    http://yourdomain.com/trackdata?Cust...,music2,music3

    3. the trackdata is a php or jsp page, when open it, it starts working..to record those informations to your database... CustID=111&MostPlayed=music1,music2,music3

    4. then sure, you can simply ouput a OK to the caller.. Flash, or HTML.

    5. yes. when using AJAX, your customer will not know anything when you send out those informations...

Similar Threads

  1. Appending New XML To An XML File With PHP
    By Streakfury in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 27 Mar 2006, 02:21 PM
  2. Storing data in XML files. Size limitations?
    By dr_smith in forum General Questions
    Replies: 0
    Last Post: 09 Nov 2005, 10:30 AM

Posting Permissions

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