• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. XML Upload > Uploading to PHP

Uploading to PHP

Now that we can formulate a simple XML string with the touch of a button, we are ready to send it to the server and interpret it there. There are several ways to do this.

Trying POST

Our first attempt to upload the XML stream employs the familiar POST method used by Flash and by HTML forms. Since the XML string is stored in the variable login, this seems easy. We will soon see that it is not.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint