a guest Jun 13th, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $filepath = dirname(__FILE__) . "your_xml_file.xml";
- $contents = file_get_contents($filepath);
- $elements = @new SimpleXmlElement($contents);
- # do somethings with the elements
RAW Paste Data