简体   繁体   中英

Reading multiple xml files in php

I have 30 android clients that send xml files to the server every one hour.I need to read each file which is pretty long(over 1700 lines per file) but i am not so sure how reliable is for this kind of tasks.

Should i continue reading with php or is C++ or java program better suited.

With PHP you can use 2 good library: SimpleXML for simple functions or DOM for something more complexe.

You can have a idea of what PHP can do with XML files here: http://www.php.net/manual/fr/refs.xml.php

If you know the names of nodes you need to read, SimpleXML is the simple way to manage yours datas. You actually can do what you want with XML files on PHP.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM