Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- $first_url_file = new SimpleXMLElement(file_get_contents($first_url));
- $second_url_file = new SimpleXMLElement(file_get_contents($second_url));
- } catch(Exception $e) {
- throw new Exception('Could not parse file');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement