複数のデバイスから XML を収集し、PHP サーバーを介して実行しようとしています。サーバーを作成し、(curl を介して) データを送信し、PHP でデータを受け入れ、データベース用に解析する方法を説明してもらえますか?
1 に答える
1
Grab a quick VPS server, I would recommend using EC2.
Then, make a LAMP server, this is a really easy guide to follow. http://www.lamphowto.com
You need to make sure you have Apache running, because that is what is answering and serving the http requests, not PHP. PHP is just another language downstream that manipulates the response.
Edit: For future viewers, the OP and I discussed this further, he was actually wondering how to parse the XML. I referenced this link: http://blog.teamtreehouse.com/how-to-parse-xml-with-php5
于 2013-01-12T22:39:51.677 に答える