How to use wget in php?

后端 未结 10 2020
离开以前
离开以前 2020-12-04 14:24

I have this parameters to download a XML file:

wget --http-user=user --http-password=pass http://www.example.com/file.xml

How I have to use

10条回答
  •  佛祖请我去吃肉
    2020-12-04 15:13

    I understand you want to open a xml file using php. That's called to parse a xml file. The best reference is here.

    http://php.net/manual/de/function.xml-parse.php

提交回复
热议问题