Home  >  Article  >  Backend Development  >  如何用php读取这个特殊的XML并且存入数组或者数据库

如何用php读取这个特殊的XML并且存入数组或者数据库

WBOY
WBOYOriginal
2016-06-13 11:57:32835browse

怎么用php读取这个特殊的XML并且存入数组或者数据库

  8889
  
  

  http://www.so.com
  360
  5
  1
  0
  0
  90
  
  

  
  

  
    
    
    
 
  


我想把这个XML读取出来,存ip和端口号进数据库或者数组。
------解决方案--------------------

simplexml_load_string

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn