SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face Xml Php And Mysql

    Hey Friends

    i had developed a mysql based website
    in that while i access a page (eg: name.me/status/<username>)

    it will automatically develop an xml which is not create a file.

    i need to get that data to another site with use of Javascript

    how can i do that??

    Thanks

  2. #2
    SitePoint Addict skunkbad's Avatar
    Join Date
    Apr 2008
    Location
    Temecula, CA
    Posts
    272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by binumathew1988 View Post
    Hey Friends

    i had developed a mysql based website
    in that while i access a page (eg: name.me/status/<username>)

    it will automatically develop an xml which is not create a file.

    i need to get that data to another site with use of Javascript

    how can i do that??

    Thanks
    You can use cURL and POST the data after the data is encoded. After the data reaches the other server, you would decode it there, or perhaps store it in its encoded format and decode later.

  3. #3
    SitePoint Member
    Join Date
    Oct 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I like to use a widjet which should display the xml file,can i use cuRL in that??
    can u gave me a snippet for xml and javascript??


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
  •