[英]PHP to Edit XML, POSTed from iOS
It's simple...I need to take user-input fields from my app, and add them as child elements in an XML. 很简单...我需要从我的应用程序中获取用户输入字段,并将其作为XML中的子元素添加。 I have looked a little at SimpleXML but could use some guidance on the IOS side of things to POST it to PHP and have the PHP add it to the XML.
我对SimpleXML有所了解,但可以在IOS方面使用一些指导,将其发布到PHP并将PHP添加到XML。
http://www.php.net/manual/en/simplexmlelement.addchild.php http://www.php.net/manual/zh/simplexmlelement.addchild.php
For uploading image with user information use this link
Trouble Passing Variables to PHP Script on Image Upload 无法在图像上传中将变量传递给PHP脚本
For just uploading user information use this link
Send JSON request with iOS 使用iOS发送JSON请求
For uploading multiple images
how to GET or POST multipart data request in PHP 如何在PHP中获取或发布多部分数据请求
hope this will help you 希望这个能对您有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.