从iOS发布的PHP以编辑XML [英] PHP to Edit XML, POSTed from iOS

查看:84
本文介绍了从iOS发布的PHP以编辑XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很简单...我需要从我的应用程序中获取用户输入的字段,并将其作为XML中的子元素添加.我对SimpleXML有所了解,但可以在IOS方面使用一些指导,将其发布到PHP并将PHP添加到XML.

It's simple...I need to take user-input fields from my app, and add them as child elements in an 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.

http://www.php.net/manual/en/simplexmlelement. addchild.php

推荐答案

For uploading image with user information use this link

无法将变量传递给PHP脚本图片上传

For just uploading user information use this link

通过iOS发送JSON请求

For uploading multiple images

如何获取或发布PHP中的分段数据请求

希望这对您有帮助

这篇关于从iOS发布的PHP以编辑XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆