Re: XMLDiff is not working in browser but working in command line

[email protected] (Ganesh Babu N) Mon, 23 Nov 2015 16:25:53 +0530
Newsgroups php.windows
Message-ID <CAOtiR59oMpfyuPzd-_4BAz8NdLEA-7rLy0zkG7z20WZh3LKiLg@mail.gmail.com>
Hi ,

i have tried working with XMLDiff\File with the following code:

<?php
$file1=1.xml;
$file2=2.xml;
$dxml=new XMLDiff\File;
$diff = $dxml->diff($file1, $file2);
echo $diff;

?>

The code is working fine in command line PHP. and not working when I called
the script via web browser.

Is anything i am doing wrong here?

Regards,
Ganesh