PHP:创建XML文件并使用curl发送它?

时间:2017-04-02 12:44:01

标签: php xml curl

如何使用PHP创建XML文件,然后使用curl发送它?

我到目前为止:

.animate-top {
  position: fixed;
  top:0;
  animation: animatetop 0.4s
}

但不知道如何继续。如何将其作为“文件”并将其连接到curl调用?我是否必须先将其保存为本地文件?或者是否可以将其保存到卷曲调用?

1 个答案:

答案 0 :(得分:0)

看来你只需要使用curl发送文件......这可能会有所帮助:

http://code.stephenmorley.org/php/sending-files-using-curl/

相关问题